Commit c823958d authored by Tachibana's avatar Tachibana

eme

parent abb6b8af
...@@ -20,10 +20,10 @@ function c24865322.initial_effect(c) ...@@ -20,10 +20,10 @@ function c24865322.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c24865322.cfilter(c) function c24865322.cfilter(c)
return c:IsDiscardable() and c:IsAbleToGraveAsCost() return c:IsDiscardable() and c:IsAbleToGraveAsCost()
end end
function c24865322.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c24865322.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c24865322.cfilter,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c24865322.cfilter,tp,LOCATION_HAND,0,1,c) end
Duel.DiscardHand(tp,c24865322.cfilter,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,c24865322.cfilter,1,1,REASON_COST+REASON_DISCARD)
end end
function c24865322.filter(c,e,tp) function c24865322.filter(c,e,tp)
......
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