From 7b9cd5ac78730bb059f38378deeecdbb0ef3af34 Mon Sep 17 00:00:00 2001 From: chenxi Date: Sun, 16 Apr 2023 20:41:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E5=A4=A7=E6=B3=A2=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/module/battle/controller/battle_controller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()