Commit dd1e72c7 authored by Tachibana's avatar Tachibana

rar

parent db658473
Pipeline #3701 passed with stages
in 43 minutes and 4 seconds
......@@ -21,10 +21,10 @@ function c16400060.initial_effect(c)
c:RegisterEffect(e2)
end
function c16400060.costfilter(c)
return c:IsSetCard(0xce2) and c:IsDiscardable()
return c:IsSetCard(0xce2) and c:IsDiscardable()
end
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)
end
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