diff --git a/lua/app/module/battle/controller/battle_controller.lua b/lua/app/module/battle/controller/battle_controller.lua index dac4357c..53760c19 100644 --- a/lua/app/module/battle/controller/battle_controller.lua +++ b/lua/app/module/battle/controller/battle_controller.lua @@ -284,7 +284,7 @@ function BattleController:enterAtkStepOver() local defTeam = self.battleData:getDefTeam() if not defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑 - if self.waveIndex >= self.maxWaveIndex() then + if self.waveIndex >= self.maxWaveIndex then self:enterRoundEnd() else self:enterRefreshBoard() @@ -319,7 +319,7 @@ function BattleController:enterDefStepOver() local defTeam = self.battleData:getDefTeam() if not defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑 - if self.waveIndex >= self.maxWaveIndex() then + if self.waveIndex >= self.maxWaveIndex then self:enterRoundEnd() else self:enterRefreshBoard()