xiyou_sanguo
parent
8c2677df0a
commit
05252a968f
|
|
@ -229,6 +229,8 @@ function GodsWayTowerPanel:OnShow()
|
|||
local curId = 0
|
||||
if curType == 1 then
|
||||
curId = ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.godsWayTowerTreasure_two)
|
||||
this.becomeAGodText1.gameObject:SetActive(true)
|
||||
this.becomeAGodText.gameObject:SetActive(false)
|
||||
elseif curType == 2 then
|
||||
curId = ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.godsWayTowerTreasure_three)
|
||||
this.becomeAGodText1.gameObject:SetActive(true)
|
||||
|
|
|
|||
|
|
@ -275,6 +275,8 @@ function WorldArenaBattleInfoPanel:BindEvent()
|
|||
teamNum = 2
|
||||
elseif curType == 2 then
|
||||
teamNum = 3
|
||||
else
|
||||
teamNum = 3
|
||||
end
|
||||
for i = 1, teamNum do
|
||||
if not leftAllTeam[i] or #leftAllTeam[i] == 0 then
|
||||
|
|
@ -316,6 +318,8 @@ function WorldArenaBattleInfoPanel:BindEvent()
|
|||
isWin = winNum == 2
|
||||
elseif curType == 2 then
|
||||
isWin = winNum == 3
|
||||
else
|
||||
isWin = winNum == 3
|
||||
end
|
||||
if isWin then
|
||||
GodsWayTowerManager.SetTowerFloorByType(curType, 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue