[玉虚论道]=======结算期战斗添加屏蔽

dev_chengFeng
wangzhenxing 2021-11-01 10:53:11 +08:00
parent 4a764de122
commit e1e2f1f663
2 changed files with 8 additions and 0 deletions

View File

@ -245,6 +245,10 @@ function WorldArenaBattleInfoPanel:BindEvent()
end)
Util.AddClick(this.btn_fight, function()
if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_YuXu) then
PopupTipPanel.ShowTip(Language[10075])
return
end
-- 动画中不能再执行
state=2
if isAnim then

View File

@ -61,6 +61,10 @@ function WorldArenaOtherTeamPanel:BindEvent()
self:ClosePanel()
end)
Util.AddClick(self.btnChallenge, function()
if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_YuXu) then
PopupTipPanel.ShowTip(Language[10075])
return
end
if time==0 and haveNum<needNum then
PopupTipPanel.ShowTip("挑战券不足!")
return