--Paladawn function c91672806.initial_effect(c) c:SetSPSummonOnce(91672806) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,c91672806.matfilter,1,1) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(91672806,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCondition(c91672806.spcon) e1:SetTarget(c91672806.sptg) e1:SetOperation(c91672806.spop) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EVENT_SPSUMMON_SUCCESS) c:RegisterEffect(e2) local e3=e1:Clone() e3:SetCode(EVENT_FLIP_SUMMON_SUCCESS) c:RegisterEffect(e3) end function c91672806.matfilter(c) return c:IsLinkSetCard(0xbb8) and c:IsLinkType(TYPE_NORMAL) end function c91672806.cfilter(c,tp) return c:IsFaceup() and c:IsControler(tp) and c:IsType(TYPE_NORMAL) end function c91672806.spcon(e,tp,eg,ep,ev,re,r,rp) return eg:IsExists(c91672806.cfilter,1,nil,tp) end function c91672806.filter(c,e,tp,zone) return c:IsFaceup() and c:IsSetCard(0xbb8) and c:IsType(TYPE_PENDULUM) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP,tp,zone) end function c91672806.sptg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then local zone=e:GetHandler():GetLinkedZone(tp) return zone~=0 and Duel.IsExistingMatchingCard(c91672806.filter,tp,LOCATION_EXTRA,0,1,nil,e,tp,zone) end Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) end function c91672806.spop(e,tp,eg,ep,ev,re,r,rp) local zone=e:GetHandler():GetLinkedZone(tp) if zone==0 then return end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) local g=Duel.SelectMatchingCard(tp,c91672806.filter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,zone) if g:GetCount()>0 then Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP,zone) end end