Commit 39314934 authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent e4125942
...@@ -32,7 +32,8 @@ function c33909817.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -32,7 +32,8 @@ function c33909817.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end end
function c33909817.target(e,tp,eg,ep,ev,re,r,rp,chk) function c33909817.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDiscardDeck(tp,1) end if chk==0 then return Duel.IsPlayerCanDiscardDeck(tp,1)
and Duel.IsExistingMatchingCard(Card.IsAbleToHand,tp,LOCATION_DECK,0,1,nil) end
end end
function c33909817.operation(e,tp,eg,ep,ev,re,r,rp) function c33909817.operation(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsPlayerCanDiscardDeck(tp,1) then return end if not Duel.IsPlayerCanDiscardDeck(tp,1) then return 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