Commit 5e7c1eab authored by nekrozar's avatar nekrozar

fix Elemental HERO Wild Wingman

parent 96f3e8a3
...@@ -22,6 +22,7 @@ function c55615891.initial_effect(c) ...@@ -22,6 +22,7 @@ function c55615891.initial_effect(c)
e2:SetOperation(c55615891.desop) e2:SetOperation(c55615891.desop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c55615891.material_setcode=0x8
function c55615891.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c55615891.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
......
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