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)