Commit 0475c1f2 authored by nanahira's avatar nanahira

would immune self

parent 4bddcee3
......@@ -21,7 +21,7 @@ local buffEffectsList={
{
code=EFFECT_IMMUNE_EFFECT,
value=function(e,te)
return te:GetOwner()~=e:GetOwner() and te:IsActiveType(TYPE_MONSTER)
return te:IsActiveType(TYPE_MONSTER)
end,
}
},
......@@ -29,7 +29,7 @@ local buffEffectsList={
{
code=EFFECT_IMMUNE_EFFECT,
value=function(e,te)
return te:GetOwner()~=e:GetOwner() and te:IsActiveType(TYPE_SPELL)
return te:IsActiveType(TYPE_SPELL)
end,
}
},
......@@ -37,7 +37,7 @@ local buffEffectsList={
{
code=EFFECT_IMMUNE_EFFECT,
value=function(e,te)
return te:GetOwner()~=e:GetOwner() and te:IsActiveType(TYPE_TRAP)
return te:IsActiveType(TYPE_TRAP)
end,
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment