From 38c30b1d65a993ffe67abde8bc81a837be029862 Mon Sep 17 00:00:00 2001 From: vurtne14 Date: Thu, 8 May 2025 19:19:23 +0800 Subject: [PATCH] 1 --- .../~Lua/Modules/Battle/View/BattlePanel.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua index 508745bca..f2175085f 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua @@ -455,27 +455,27 @@ function this:BindEvent() else if fightType == BATTLE_TYPE.Climb_Tower then --爬塔战斗 判断爬塔跳过战斗特权 - if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.ClimbTowerJump) and not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanOneId) then + if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.ClimbTowerJump) or not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanOneId) then PopupTipPanel.ShowTip(PrivilegeManager.GetPrivilegeOpenTip(PRIVILEGE_TYPE.ClimbTowerJump)) return end elseif fightType == BATTLE_TYPE.DefenseTraining then --深渊试炼战斗 判断深渊试炼跳过战斗特权 - if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.DefenseTrainingJump) and not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanTwoId) then + if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.DefenseTrainingJump) or not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanTwoId) then PopupTipPanel.ShowTip(PrivilegeManager.GetPrivilegeOpenTip(PRIVILEGE_TYPE.DefenseTrainingJump)) return end elseif fightType == BATTLE_TYPE.BLITZ_STRIKE then --遗忘之城战斗 判断遗忘之城跳过战斗特权 - if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.BlitzStrikeJump) and not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanTwoId) then + if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.BlitzStrikeJump) or not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanTwoId) then PopupTipPanel.ShowTip(PrivilegeManager.GetPrivilegeOpenTip(PRIVILEGE_TYPE.BlitzStrikeJump)) return end elseif fightType == BATTLE_TYPE.DAILY_CHALLENGE then --异端之战战斗 判断异端之战跳过战斗特权 - if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.MapJump) and not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanTwoId) then + if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.MapJump) or not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanTwoId) then PopupTipPanel.ShowTip(PrivilegeManager.GetPrivilegeOpenTip(PRIVILEGE_TYPE.MapJump)) return end elseif fightType == BATTLE_TYPE.REDCLIFF then --腐化之战战斗 判断腐化之战跳过战斗特权 - if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.Carbon) and not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanOneId) then + if not PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.Carbon) or not PrivilegeManager.GetPrivilegeOpenStatusById(TeQuanOneId) then PopupTipPanel.ShowTip(PrivilegeManager.GetPrivilegeOpenTip(PRIVILEGE_TYPE.Carbon)) return end