bug修复

This commit is contained in:
xiekaidong 2023-09-12 10:24:02 +08:00
parent 94d59731c8
commit b9b8a10cc4

View File

@ -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