Commit 6e924a02 authored by Tianchenglipu's avatar Tianchenglipu

Update c58851034.lua

parent 57fa806c
......@@ -18,6 +18,7 @@ function c58851034.cfilter(c)
return c:IsType(TYPE_SPELL) and c:IsDiscardable()
end
function c58851034.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if Duel.IsPlayerAffectedByEffect(tp,98301564) then return true end
if chk==0 then return Duel.IsExistingMatchingCard(c58851034.cfilter,tp,LOCATION_HAND,0,1,nil) end
Duel.DiscardHand(tp,c58851034.cfilter,1,1,REASON_COST+REASON_DISCARD,nil)
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