Commit cac82502 authored by wind2009's avatar wind2009

Merge branch 'PHNI' from upstream

parents a81f8cb0 49aa7569
......@@ -108,7 +108,7 @@ end
function s.fucost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,e:GetHandler())
and c:IsAbleToGraveAsCost() end
and c:IsAbleToGraveAsCost() and c:IsStatus(STATUS_EFFECT_ENABLED) end
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
Duel.SendtoGrave(c,REASON_COST)
end
......@@ -188,4 +188,4 @@ function s.fuop(e,tp,eg,ep,ev,re,r,rp)
tc:CompleteProcedure()
end
aux.FCheckAdditional=nil
end
\ No newline at end of file
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