Commit dd1e72c7 authored by Tachibana's avatar Tachibana

rar

parent db658473
...@@ -21,10 +21,10 @@ function c16400060.initial_effect(c) ...@@ -21,10 +21,10 @@ function c16400060.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c16400060.costfilter(c) function c16400060.costfilter(c)
return c:IsSetCard(0xce2) and c:IsDiscardable() return c:IsSetCard(0xce2) and c:IsDiscardable()
end end
function c16400060.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c16400060.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c16400060.costfilter,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c16400060.costfilter,tp,LOCATION_HAND,0,1,e:GetHandler()) end
Duel.DiscardHand(tp,c16400060.costfilter,1,1,REASON_COST+REASON_DISCARD,nil) Duel.DiscardHand(tp,c16400060.costfilter,1,1,REASON_COST+REASON_DISCARD,nil)
end end
function c16400060.target(e,tp,eg,ep,ev,re,r,rp,chk) function c16400060.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
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