From 6cf247d86d74fe50149832af6998c1edab5f4861 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Wed, 14 Jun 2023 10:03:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=89=8B=E5=85=88=E6=89=8B=E6=9C=9F?= =?UTF-8?q?=E9=97=B4=EF=BC=8C=E8=8B=B1=E9=9B=84=E4=B8=8D=E4=BC=9A=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E6=AD=BB=E4=BA=A1=E5=8A=A8=E4=BD=9Cbug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= 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, 1 insertion(+), 1 deletion(-) diff --git a/lua/app/module/battle/component/battle_unit_comp.lua b/lua/app/module/battle/component/battle_unit_comp.lua index 15f9caab..ff3c50ed 100644 --- a/lua/app/module/battle/component/battle_unit_comp.lua +++ b/lua/app/module/battle/component/battle_unit_comp.lua @@ -1645,7 +1645,7 @@ function BattleUnitComp:takeDamageOrCure(atker, num, effectType, effectStatus, d end local hpPercent = self.unitEntity:getHpPercent() self.battleController:refreshHp(self.side, hp, hpPercent) - if not atker:getIsFinalBlock() or not self.battleController:getIsLastInstruction() then + if not atker:getIsFinalBlock() or atker:getIsCentralizedAttack() then if damage < 0 then self.team:playHurt() end