多队塔胜利条件修改
parent
1fa9ba8050
commit
f65a4314d1
|
@ -302,10 +302,15 @@ function WorldArenaBattleInfoPanel:BindEvent()
|
|||
end
|
||||
end
|
||||
LogError("winnum==="..winNum)
|
||||
if winNum>=2 and msg.drop then
|
||||
local isWin=false
|
||||
if type==1 then
|
||||
isWin=winNum==2
|
||||
elseif type==2 then
|
||||
isWin=winNum==3
|
||||
end
|
||||
if isWin and msg.drop then
|
||||
GodsWayTowerManager.SetTowerFloorByType(curType,1)
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1)
|
||||
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.FourEle.RefreshView)
|
||||
else
|
||||
UIManager.OpenPanel(UIName.BattleFailPopup, nil, true, nil, BATTLE_TYPE.GodsWayTower)
|
||||
|
|
Loading…
Reference in New Issue