Commit e57b95dc authored by salix5's avatar salix5

continuous control-changing effect

parent e213010a
...@@ -64,7 +64,7 @@ end ...@@ -64,7 +64,7 @@ end
function c21768554.con(e) function c21768554.con(e)
local c=e:GetOwner() local c=e:GetOwner()
local h=e:GetHandler() local h=e:GetHandler()
return c:IsHasCardTarget(h) and h:GetCounter(0x100e)>0 return c:IsHasCardTarget(h) and h:GetCounter(0x100e)>0 and not h:IsImmuneToEffect(e)
end end
function c21768554.ctval(e,c) function c21768554.ctval(e,c)
return e:GetOwnerPlayer() return e:GetOwnerPlayer()
......
...@@ -56,7 +56,7 @@ end ...@@ -56,7 +56,7 @@ end
function c36975314.con(e) function c36975314.con(e)
local c=e:GetOwner() local c=e:GetOwner()
local h=e:GetHandler() local h=e:GetHandler()
return c:IsHasCardTarget(h) and not c:IsDisabled() return c:IsHasCardTarget(h) and not h:IsImmuneToEffect(e)
end end
function c36975314.ctval(e,c) function c36975314.ctval(e,c)
return e:GetOwnerPlayer() return e:GetOwnerPlayer()
......
...@@ -64,7 +64,7 @@ end ...@@ -64,7 +64,7 @@ end
function c59258334.con(e) function c59258334.con(e)
local c=e:GetOwner() local c=e:GetOwner()
local h=e:GetHandler() local h=e:GetHandler()
return c:IsHasCardTarget(h) and h:GetCounter(0x100e)>0 return c:IsHasCardTarget(h) and h:GetCounter(0x100e)>0 and not h:IsImmuneToEffect(e)
end end
function c59258334.ctval(e,c) function c59258334.ctval(e,c)
return e:GetOwnerPlayer() return e:GetOwnerPlayer()
......
...@@ -55,7 +55,7 @@ end ...@@ -55,7 +55,7 @@ end
function c70284332.con(e) function c70284332.con(e)
local c=e:GetOwner() local c=e:GetOwner()
local h=e:GetHandler() local h=e:GetHandler()
return c:IsHasCardTarget(h) return c:IsHasCardTarget(h) and not h:IsImmuneToEffect(e)
end end
function c70284332.ctval(e,c) function c70284332.ctval(e,c)
return e:GetOwnerPlayer() return e:GetOwnerPlayer()
......
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