死亡时恢复战斗速度
This commit is contained in:
parent
09cb92bce2
commit
550a51efa7
@ -1601,6 +1601,8 @@ function BattleUnitComp:takeDamageOrCure(atker, num, effectType, effectStatus, d
|
|||||||
self:onAttackOver()
|
self:onAttackOver()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
self.battleController:resetTimeSpeed()
|
||||||
|
|
||||||
self:changeState(UNIT_STATE.DEAD)
|
self:changeState(UNIT_STATE.DEAD)
|
||||||
elseif damage < 0 then
|
elseif damage < 0 then
|
||||||
self:playHurt()
|
self:playHurt()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user