Commit c3a945d9 authored by TanakaKotoha's avatar TanakaKotoha

openGL

parent 25ae2929
......@@ -40,9 +40,10 @@ function cm.ffilter(c)
return c:IsFusionType(TYPE_EFFECT) and c:IsOnField()
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
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
return e:GetOwnerPlayer()~=re:GetOwnerPlayer() and not g:IsContains(e:GetHandler())
return 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