最大波次

This commit is contained in:
chenxi 2023-04-16 20:41:04 +08:00
parent b5f765f74c
commit 7b9cd5ac78

View File

@ -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()