Commit bdc1b734 authored by Tachibana's avatar Tachibana

tnndx

parent 09e9a6ed
......@@ -135,7 +135,7 @@ function c75646528.efilter(e,te)
if e:GetOwnerPlayer()==te:GetOwnerPlayer() then return false end
if not te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return true end
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
return not g:IsContains(e:GetHandler())
return not g or not g:IsContains(e:GetHandler())
end
function c75646528.atlimit(e,c)
return c~=e:GetHandler()
......
......@@ -63,9 +63,9 @@ function cm.imcon(e,tp,eg,ep,ev,re,r,rp)
end
function cm.efilter(e,re,rp)
if e:GetHandlerPlayer()==re:GetHandlerPlayer() then return false end
if not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return true end
if not te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return true end
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
return not g:IsContains(e:GetHandler())
return not g or not g:IsContains(e:GetHandler())
end
function cm.cbcon(e,tp,eg,ep,ev,re,r,rp)
return r~=REASON_REPLACE
......
......@@ -30,9 +30,9 @@ function cm.ffilter(c)
end
function cm.efilter(e,re,rp)
if e:GetHandlerPlayer()==re:GetHandlerPlayer() then return false end
if not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return true end
if not te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return true end
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
return not g:IsContains(e:GetHandler())
return not g or not g:IsContains(e:GetHandler())
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
if e==re or not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return false 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