Commit 55513271 authored by Tachibana's avatar Tachibana

ndyd

parent 87063a71
......@@ -86,9 +86,10 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(tc,REASON_EFFECT)
end
end
function cm.ssfilter(c,tp)
function cm.sscfilter(c,tp)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:GetOwner()==1-tp
end
function cm.actcon(e,tp)
return Duel.IsExistingMatchingCard(cm.ssfilter,e:GetHandlerPlayer(),LOCATION_ONFIELD,0,1,nil,tp)
end
function cm.actcon(e,c)
local tp=e:GetHandlerPlayer()
return Duel.IsExistingMatchingCard(cm.sscfilter,tp,LOCATION_ONFIELD,0,1,nil,tp)
end
\ No newline at end of file
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