Commit e4198176 authored by Tianchenglipu's avatar Tianchenglipu

Update c49010598.lua

parent 2147ba0c
...@@ -15,6 +15,7 @@ function c49010598.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -15,6 +15,7 @@ function c49010598.condition(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER) and Duel.IsChainNegatable(ev) return re:IsActiveType(TYPE_MONSTER) and Duel.IsChainNegatable(ev)
end end
function c49010598.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c49010598.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(Card.IsDiscardable,tp,LOCATION_HAND,0,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,e:GetHandler()) end
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
end 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