Commit 96c3af5e authored by Tachibana's avatar Tachibana

eme

parent 38800954
Pipeline #8778 passed with stages
in 32 minutes and 24 seconds
......@@ -23,7 +23,7 @@ function c24865322.cfilter(c)
return c:IsDiscardable() and c:IsAbleToGraveAsCost()
end
function c24865322.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c24865322.cfilter,tp,LOCATION_HAND,0,1,c) end
if chk==0 then return Duel.IsExistingMatchingCard(c24865322.cfilter,tp,LOCATION_HAND,0,1,e:GetHandler()) end
Duel.DiscardHand(tp,c24865322.cfilter,1,1,REASON_COST+REASON_DISCARD)
end
function c24865322.filter(c,e,tp)
......
......@@ -65,7 +65,8 @@ function c33200105.smtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c33200105.filter,tp,LOCATION_GRAVE,0,1,nil,e,tp)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(33200105,0))
Duel.SelectTarget(tp,c33200105.filter,tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
local g=Duel.SelectTarget(tp,c33200105.filter,tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
Duel.HintSelection(g)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end
function c33200105.smop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -7,7 +7,7 @@ function c33200501.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_DESTROYED)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_CAL)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,33200501)
e1:SetCondition(c33200501.spcon)
......
......@@ -7,7 +7,7 @@ function c33200511.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_DESTROYED)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_CAL)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,33200511)
e1:SetCondition(c33200511.spcon)
......
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