多队塔战斗判定修改提交

dev_chengFeng
wangzhenxing 2023-03-23 16:57:29 +08:00
parent f65a4314d1
commit a2726648ff
1 changed files with 3 additions and 3 deletions

View File

@ -303,12 +303,12 @@ function WorldArenaBattleInfoPanel:BindEvent()
end
LogError("winnum==="..winNum)
local isWin=false
if type==1 then
if curType==1 then
isWin=winNum==2
elseif type==2 then
elseif curType==2 then
isWin=winNum==3
end
if isWin and msg.drop then
if isWin then
GodsWayTowerManager.SetTowerFloorByType(curType,1)
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1)
Game.GlobalEvent:DispatchEvent(GameEvent.FourEle.RefreshView)