diff --git a/lua/app/module/battle/component/battle_unit_comp.lua b/lua/app/module/battle/component/battle_unit_comp.lua index 57f818fa..db27cbfe 100644 --- a/lua/app/module/battle/component/battle_unit_comp.lua +++ b/lua/app/module/battle/component/battle_unit_comp.lua @@ -1098,7 +1098,7 @@ function BattleUnitComp:takeDamageOrCure(atker, num, effectType, effectStatus) end local shieldHpDiff = self.unitEntity:getShieldHp() - shieldHpBefore if shieldHpDiff < 0 then -- 说明护盾减少了 - self:handleShield(shieldHpDiff, self) + self.team:handleShield(shieldHpDiff, self) end local x, y = self.baseObject:fastGetLocalPosition() if num < 0 then -- 伤害