xiyou_sanguo
PC-202302260912\Administrator 2025-04-27 14:40:50 +08:00
parent c310c62a49
commit 33eb60e12a
1 changed files with 7 additions and 3 deletions

View File

@ -171,9 +171,13 @@ function RewardItemPopup:OnOpen(...)
this.btnResult:SetActive(haveRecord and args[5])
this.btnBattleBack:SetActive(haveRecord and args[5] and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.MAP_FIGHT and
not GuideManager.IsInMainGuide() and not MapManager.Mapping and
BattleManager.GetLastBattleType() ~= BATTLE_TYPE.TASUILINGXIAO)
this.btnFightNext:SetActive(BattleManager.GetLastBattleType() == BATTLE_TYPE.STORY_FIGHT and haveRecord and args[5] and
not GuideManager.IsInMainGuide() and not MapManager.Mapping)
BattleManager.GetLastBattleType() ~= BATTLE_TYPE.TASUILINGXIAO)
if BattleManager.GetLastBattleType() == BATTLE_TYPE.STORY_FIGHT then
local isOk, tip, btnTxt, lockState = FightPointPassManager.CheckFightOpenRule(FightPointPassManager.curOpenFight)
this.btnFightNext:SetActive(haveRecord and args[5] and not GuideManager.IsInMainGuide() and not MapManager.Mapping and isOk)
else
this.btnFightNext:SetActive(false)
end
this.expeditionGo:SetActive(compShowType == 5)
this.guildDeathPos:SetActive(compShowType == 4) --十绝阵
this.guildTranscript:SetActive(compShowType == 6)