diff --git a/lua/app/module/battle/component/battle_unit_comp.lua b/lua/app/module/battle/component/battle_unit_comp.lua index d3c7e39a..6cac7735 100644 --- a/lua/app/module/battle/component/battle_unit_comp.lua +++ b/lua/app/module/battle/component/battle_unit_comp.lua @@ -1531,7 +1531,7 @@ function BattleUnitComp:takeEffect(buff, target, conditionResult) end end - if buff:isDecreaseGain() and self.unitEntity:getIsImmuneReductionBenefit() then -- 有免疫减益属性 + if buff:isDecreaseGain() and target.unitEntity:getIsImmuneReductionBenefit() then -- 有免疫减益属性 return false end