Commit c1e6fef6 authored by POLYMER's avatar POLYMER

fix

parent 4576dbd0
...@@ -96,7 +96,7 @@ end ...@@ -96,7 +96,7 @@ end
function s.efilter(e,te) function s.efilter(e,te)
local c=e:GetHandler() local c=e:GetHandler()
local ec=te:GetHandler() local ec=te:GetHandler()
if ec:IsHasCardTarget(c) or (te:IsHasType(EFFECT_TYPE_ACTIONS) and te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) and c:IsRelateToEffect(te)) or (_G["c"..c:GetCode()] and _G["c"..c:GetCode()].hackclad) then return false if ec:IsHasCardTarget(c) or (te:IsHasType(EFFECT_TYPE_ACTIONS) and te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) and c:IsRelateToEffect(te)) or (_G["c"..te:GetOwner():GetCode()] and _G["c"..te:GetOwner():GetCode()].hackclad) then return false
end end
return e:GetHandler()~=te:GetOwner() return e:GetHandler()~=te:GetOwner()
end end
......
...@@ -188,7 +188,7 @@ c91300032.hackclad=1 ...@@ -188,7 +188,7 @@ c91300032.hackclad=1
function c91300032.efilter(e,te) function c91300032.efilter(e,te)
local c=e:GetHandler() local c=e:GetHandler()
local ec=te:GetHandler() local ec=te:GetHandler()
if ec:IsHasCardTarget(c) or (te:IsHasType(EFFECT_TYPE_ACTIONS) and te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) and c:IsRelateToEffect(te)) or (_G["c"..c:GetCode()] and _G["c"..c:GetCode()].hackclad) then return false if ec:IsHasCardTarget(c) or (te:IsHasType(EFFECT_TYPE_ACTIONS) and te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) and c:IsRelateToEffect(te)) or (_G["c"..te:GetOwner():GetCode()] and _G["c"..te:GetOwner():GetCode()].hackclad) then return false
end end
return e:GetHandler()~=te:GetOwner() return e:GetHandler()~=te:GetOwner()
end end
......
...@@ -188,7 +188,7 @@ c91300033.hackclad=1 ...@@ -188,7 +188,7 @@ c91300033.hackclad=1
function c91300033.efilter(e,te) function c91300033.efilter(e,te)
local c=e:GetHandler() local c=e:GetHandler()
local ec=te:GetHandler() local ec=te:GetHandler()
if ec:IsHasCardTarget(c) or (te:IsHasType(EFFECT_TYPE_ACTIONS) and te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) and c:IsRelateToEffect(te)) or (_G["c"..c:GetCode()] and _G["c"..c:GetCode()].hackclad) then return false if ec:IsHasCardTarget(c) or (te:IsHasType(EFFECT_TYPE_ACTIONS) and te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) and c:IsRelateToEffect(te)) or (_G["c"..te:GetOwner():GetCode()] and _G["c"..te:GetOwner():GetCode()].hackclad) then return false
end end
return e:GetHandler()~=te:GetOwner() return e:GetHandler()~=te:GetOwner()
end end
......
...@@ -190,7 +190,7 @@ c91300034.hackclad=1 ...@@ -190,7 +190,7 @@ c91300034.hackclad=1
function c91300034.efilter(e,te) function c91300034.efilter(e,te)
local c=e:GetHandler() local c=e:GetHandler()
local ec=te:GetHandler() local ec=te:GetHandler()
if ec:IsHasCardTarget(c) or (te:IsHasType(EFFECT_TYPE_ACTIONS) and te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) and c:IsRelateToEffect(te)) or (_G["c"..c:GetCode()] and _G["c"..c:GetCode()].hackclad) then return false if ec:IsHasCardTarget(c) or (te:IsHasType(EFFECT_TYPE_ACTIONS) and te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) and c:IsRelateToEffect(te)) or (_G["c"..te:GetOwner():GetCode()] and _G["c"..te:GetOwner():GetCode()].hackclad) then return false
end end
return e:GetHandler()~=te:GetOwner() return e:GetHandler()~=te:GetOwner()
end 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