From 550a51efa7befbf26082b294ed1559aadb0022f3 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Mon, 29 May 2023 15:21:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=BB=E4=BA=A1=E6=97=B6=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E6=88=98=E6=96=97=E9=80=9F=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/module/battle/component/battle_unit_comp.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/app/module/battle/component/battle_unit_comp.lua b/lua/app/module/battle/component/battle_unit_comp.lua index dc5dd155..3dc16991 100644 --- a/lua/app/module/battle/component/battle_unit_comp.lua +++ b/lua/app/module/battle/component/battle_unit_comp.lua @@ -1601,6 +1601,8 @@ function BattleUnitComp:takeDamageOrCure(atker, num, effectType, effectStatus, d self:onAttackOver() end + self.battleController:resetTimeSpeed() + self:changeState(UNIT_STATE.DEAD) elseif damage < 0 then self:playHurt()