恢复战斗速度的时机
This commit is contained in:
parent
bfdf418a39
commit
904a57760d
@ -384,7 +384,6 @@ function BattleController:enterRefreshBoard()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function BattleController:enterRoundEnd()
|
function BattleController:enterRoundEnd()
|
||||||
DataManager.BattleData:resetTimeSpeed()
|
|
||||||
self.roundStep = BattleConst.BATTLE_ROUND_STEP.ON_END
|
self.roundStep = BattleConst.BATTLE_ROUND_STEP.ON_END
|
||||||
local defTeam = self.battleData:getDefTeam()
|
local defTeam = self.battleData:getDefTeam()
|
||||||
if not defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑
|
if not defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑
|
||||||
@ -829,6 +828,7 @@ function BattleController:exeInstructions(callback)
|
|||||||
local func = BattleController._doInstruction[instruction.name]
|
local func = BattleController._doInstruction[instruction.name]
|
||||||
if func then
|
if func then
|
||||||
func(self, instruction, function()
|
func(self, instruction, function()
|
||||||
|
DataManager.BattleData:resetTimeSpeed()
|
||||||
self:exeInstructions(callback)
|
self:exeInstructions(callback)
|
||||||
end)
|
end)
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user