Commit 1f632597 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 5362cfb7
No preview for this file type
......@@ -41,6 +41,10 @@ function s.initial_effect(c)
e4:SetOperation(s.ctop)
c:RegisterEffect(e4)
end
function s.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end
function s.tgfilter(c)
return c:IsSetCard(0x62c4) and c:IsAbleToGrave()
end
......
......@@ -44,7 +44,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) then Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 end
if c:IsRelateToEffect(e) then Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) end
end
function s.tfilter(c,lab)
if lab==1 then return c:IsFaceupEx() and c:IsCode(75642000)
......
......@@ -18,7 +18,6 @@ function cm.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_SZONE)
e1:SetCountLimit(1)
e1:SetCondition(cm.spcon)
e1:SetTarget(cm.sptg)
e1:SetOperation(cm.spop)
c:RegisterEffect(e1)
......
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