[抽卡]======仙缘箱开始展示修改
parent
547a56b2a9
commit
35fe308aaa
|
@ -30,9 +30,13 @@ function this:BindEvent()
|
|||
return
|
||||
end
|
||||
RecruitManager.RecruitRequest(RecruitType.RecruitBox, function(msg)
|
||||
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero[1],RecruitType.RecruitBox,1,{RecruitType.RecruitBox,RecruitType.RecruitBox})
|
||||
--UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero[1],RecruitType.RecruitBox,1,{RecruitType.RecruitBox,RecruitType.RecruitBox})
|
||||
this.curNum.text=string.format(Language[11586],BagManager.GetItemCountById(94))
|
||||
parent:ClosePanel()
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function()
|
||||
UIManager.OpenPanel(UIName.RecruitMainPanel)
|
||||
end)
|
||||
--this:ShowInfo()
|
||||
end)
|
||||
end)
|
||||
|
||||
|
@ -48,6 +52,10 @@ function this:OnShow(_parent,...)
|
|||
parent=_parent
|
||||
sortingOrder =_parent.sortingOrder
|
||||
local args = {...}
|
||||
this:ShowInfo()
|
||||
end
|
||||
|
||||
function this:ShowInfo()
|
||||
_CostItem=lotterySetting[RecruitType.RecruitBox].CostItem[1][2]
|
||||
|
||||
local con = string.split(specialConfig[49].Value, "#")
|
||||
|
@ -68,6 +76,7 @@ function this:OnShow(_parent,...)
|
|||
this.anim.enabled = BagManager.GetItemCountById(94) >= tonumber(_CostItem)
|
||||
end
|
||||
|
||||
|
||||
function this:OnClose()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue