抽卡提示只在神将抽里出现

dev_chengFeng
jiaoyangna 2021-06-19 15:00:37 +08:00
parent bf1e1f69e6
commit 2e693575a6
1 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ function this.UpdatePanelData()
local recruitOne = function()
RecruitManager.RecruitRequest(m.type, function(msg)
PrivilegeManager.RefreshPrivilegeUsedTimes(maxTimesId,1)--记录抽卡次数
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero[1],m.type,bType.Btn1,{RecruitType.Single,RecruitType.Ten})
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero[1],m.type,bType.Btn1,{v.btn[bType.Btn1].type,v.btn[bType.Btn10].type})
end,v.privilegeId)
end
if state==0 and d[1] ==16 and not isFree then
@ -232,7 +232,7 @@ function this.UpdatePanelData()
local recruitTen = function()
RecruitManager.RecruitRequest(m.type, function(msg)
PrivilegeManager.RefreshPrivilegeUsedTimes(maxTimesId,10)--记录抽卡次数
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero, m.type,bType.Btn10,{RecruitType.Ten,RecruitType.Ten})
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero, m.type,bType.Btn10,{v.btn[bType.Btn10].type,v.btn[bType.Btn10].type})
if m.type == 11 then
RecruitManager.isTenRecruit = 1
end