多对塔挂机宝箱修改

tcx_xiyou_dev
PC-202302260912\Administrator 2024-05-11 18:09:04 +08:00
parent 028c1a029c
commit 490fcfdee4
1 changed files with 5 additions and 0 deletions

View File

@ -312,6 +312,11 @@ function WorldArenaBattleInfoPanel:BindEvent()
GodsWayTowerManager.SetTowerFloorByType(curType,1)
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1)
Game.GlobalEvent:DispatchEvent(GameEvent.FourEle.RefreshView)
local showTime=GodsWayTowerManager.GetTowerTimeByType(curType)
if showTime==0 then
GodsWayTowerManager.SetTowerTimeByType(curType,GetTimeStamp())
Game.GlobalEvent:DispatchEvent(GameEvent.FourEle.RefreshView)
end
else
UIManager.OpenPanel(UIName.BattleFailPopup, nil, true, nil, BATTLE_TYPE.GodsWayTower)
end