xiyou_sanguo
zhangjiannan 2025-12-25 20:54:49 +08:00
parent 8c2677df0a
commit 05252a968f
2 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -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)