【山河每日奖励】新增二次确认
parent
7bd64b6a13
commit
74f3c07aa4
|
@ -49,6 +49,10 @@ function FightLevelChapterPanel:BindEvent()
|
|||
PopupTipPanel.ShowTip("今日已领取,请明日再来!")
|
||||
return
|
||||
end
|
||||
-- 计算可获得的数量
|
||||
local starNum = FightLevelManager.GetAllChapterStars()
|
||||
local getNum = starNum * 5 + 50
|
||||
MsgPanel.ShowTwo(string.format("当前可领取玉衡龙魂丹<color=%s>%s(星数×5+50)</color>,确认领取?", UIColorStr.GREEN, getNum), nil, function()
|
||||
-- 请求领取奖励
|
||||
self.rewardKeKaiQi:SetActive(false)
|
||||
self.rewardOpen:SetActive(false)
|
||||
|
@ -58,6 +62,7 @@ function FightLevelChapterPanel:BindEvent()
|
|||
FightLevelManager.RequestGetDailyReward()
|
||||
end, 1):Start()
|
||||
end)
|
||||
end)
|
||||
end
|
||||
--添加事件监听(用于子类重写)
|
||||
function FightLevelChapterPanel:AddListener()
|
||||
|
|
Loading…
Reference in New Issue