Commit 35564576 authored by POLYMER's avatar POLYMER

fix

parent d3f54b81
--重兵装型女子高中生・Arche
function c67670311.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,c67670311.mfilter,3)
aux.AddLinkProcedure(c,c67670311.mfilter,2)
c:EnableReviveLimit()
--cannot be material
local e1=Effect.CreateEffect(c)
......@@ -72,16 +72,16 @@ end
function c67670311.spfilter1(c)
return c:IsSetCard(0x1b7) and c:IsAbleToRemoveAsCost()
end
function c67670311.spfilter2(c,e,tp)
return c:IsSetCard(0x1b7) and not c:IsCode(67670311)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP)
end
function c67670311.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c67670311.spfilter1,tp,LOCATION_GRAVE,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(c67670311.spfilter1,tp,LOCATION_GRAVE,0,2,nil) and Duel.IsExistingMatchingCard(c67670311.spfilter2,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,c67670311.spfilter1,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST)
end
function c67670311.spfilter2(c,e,tp)
return c:IsSetCard(0x1b7) and not c:IsCode(67670311)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP)
end
function c67670311.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c67670311.spfilter2(chkc,e,tp) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
......@@ -69,6 +69,7 @@ function c9911351.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_PUBLIC)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
Duel.ShuffleHand(tp)
end
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