From 33eb60e12a5900799f3b9219350d54297bc6b741 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <419983115@qq.com> Date: Sun, 27 Apr 2025 14:40:50 +0800 Subject: [PATCH] 1 --- .../~Lua/Modules/Popup/RewardItemPopup.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua index 3fcd05d62a..36d784555a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua @@ -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)