恢复战斗速度的时机

This commit is contained in:
chenxi 2023-04-19 15:49:58 +08:00
parent bfdf418a39
commit 904a57760d

View File

@ -384,7 +384,6 @@ function BattleController:enterRefreshBoard()
end
function BattleController:enterRoundEnd()
DataManager.BattleData:resetTimeSpeed()
self.roundStep = BattleConst.BATTLE_ROUND_STEP.ON_END
local defTeam = self.battleData:getDefTeam()
if not defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑
@ -829,6 +828,7 @@ function BattleController:exeInstructions(callback)
local func = BattleController._doInstruction[instruction.name]
if func then
func(self, instruction, function()
DataManager.BattleData:resetTimeSpeed()
self:exeInstructions(callback)
end)
else