Merge branch 'tcx_xiyou_yueNan' of http://192.168.1.21:3000/root/miduo_client into tcx_xiyou_yueNan

tcx_xiyou_yueNan
zhangjiannan 2025-04-27 16:47:01 +08:00
commit d851e761c3
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)