Commit 41af5c7c authored by wyykak's avatar wyykak

fix 17060840

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent c1a863ea
Pipeline #15197 passed with stage
in 1 minute and 2 seconds
...@@ -18,11 +18,15 @@ function cm.initial_effect(c) ...@@ -18,11 +18,15 @@ function cm.initial_effect(c)
e5:SetType(EFFECT_TYPE_IGNITION) e5:SetType(EFFECT_TYPE_IGNITION)
e5:SetRange(LOCATION_PZONE) e5:SetRange(LOCATION_PZONE)
e5:SetCountLimit(1,17060840) e5:SetCountLimit(1,17060840)
e5:SetCondition(cm.thcon) e5:SetCost(cm.thcost)
e5:SetTarget(cm.thtg) e5:SetTarget(cm.thtg)
e5:SetOperation(cm.thop) e5:SetOperation(cm.thop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
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)
end
function cm.indfilter(c) function cm.indfilter(c)
return c:IsFaceup() and c:IsSetCard(0x57f6) return c:IsFaceup() and c:IsSetCard(0x57f6)
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