【星魂福袋】点击使用数量加号,提示英雄达上限 修复
parent
042644bdcb
commit
c8d35b5458
|
@ -110,13 +110,20 @@ function BagResolveAnCompoundPanel:BindEvent()
|
|||
this.ShowCompoundNumData(value)
|
||||
end)
|
||||
Util.AddClick(this.addBtn, function()
|
||||
if endHeroNum > 0 then
|
||||
if itemData.itemConfig.ItemType == ItemType.Box then
|
||||
if compoundNum<compoundMaxNum then
|
||||
compoundNum=compoundNum+1
|
||||
this.ShowCompoundNumData(compoundNum)
|
||||
end
|
||||
else
|
||||
PopupTipPanel.ShowTip(Language[12157])
|
||||
if endHeroNum > 0 then
|
||||
if compoundNum<compoundMaxNum then
|
||||
compoundNum=compoundNum+1
|
||||
this.ShowCompoundNumData(compoundNum)
|
||||
end
|
||||
else
|
||||
PopupTipPanel.ShowTip(Language[12157])
|
||||
end
|
||||
end
|
||||
end)
|
||||
Util.AddClick(this.jianBtn, function()
|
||||
|
|
Loading…
Reference in New Issue