Commit 8fd0c75b authored by mercury233's avatar mercury233

fix

parent 189e9ef3
...@@ -56,7 +56,7 @@ function c101012087.discfilter(c) ...@@ -56,7 +56,7 @@ function c101012087.discfilter(c)
end end
function c101012087.discost(e,tp,eg,ep,ev,re,r,rp,chk) function c101012087.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c101012087.discfilter,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c101012087.discfilter,tp,LOCATION_HAND,0,1,nil) end
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,c101012087.discfilter,1,1,REASON_COST+REASON_DISCARD)
end end
function c101012087.distg(e,tp,eg,ep,ev,re,r,rp,chk) function c101012087.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
......
...@@ -7,7 +7,7 @@ function c101101030.initial_effect(c) ...@@ -7,7 +7,7 @@ function c101101030.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(101101030,0)) e1:SetDescription(aux.Stringid(101101030,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_TO_GRAVE) e1:SetCode(EVENT_TO_GRAVE)
e1:SetRange(LOCATION_HAND) e1:SetRange(LOCATION_HAND)
......
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