diff --git a/lua/app/module/battle/controller/battle_controller.lua b/lua/app/module/battle/controller/battle_controller.lua index 0f8543ac..b95ddd2d 100644 --- a/lua/app/module/battle/controller/battle_controller.lua +++ b/lua/app/module/battle/controller/battle_controller.lua @@ -266,7 +266,7 @@ function BattleController:enterAtkStepOver() self.roundStep = BattleConst.BATTLE_ROUND_STEP.ON_ATK_STEP_OVER local defTeam = self.battleData:getDefTeam() - if defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑 + if not defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑 self:enterRefreshBoard() return end @@ -301,7 +301,7 @@ end function BattleController:enterRoundEnd() self.roundStep = BattleConst.BATTLE_ROUND_STEP.ON_END local defTeam = self.battleData:getDefTeam() - if defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑 + if not defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑 self:enterNextWave() return end