--Nazarelic Circle function c212600.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) c:RegisterEffect(e1) --destory local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(212600,0)) e2:SetCategory(CATEGORY_DESTROY) e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetCode(EVENT_FREE_CHAIN) e2:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e2:SetRange(LOCATION_SZONE) e2:SetCountLimit(1,212600) e2:SetCondition(c212600.descon) e2:SetTarget(c212600.destg) e2:SetOperation(c212600.desop) c:RegisterEffect(e2) end function c212600.cfilter(c) return c:IsFaceup() and c:IsSetCard(0x2609) end function c212600.descon(e,tp,eg,ep,ev,re,r,rp) return Duel.IsExistingMatchingCard(c212600.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end function c212600.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) if chkc then return chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsFaceup() end if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) local g=Duel.SelectTarget(tp,Card.IsFaceup,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil) Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0) end function c212600.desop(e,tp,eg,ep,ev,re,r,rp) if not e:GetHandler():IsRelateToEffect(e) then return end local tc=Duel.GetFirstTarget() if tc:IsRelateToEffect(e) then Duel.Destroy(tc,REASON_EFFECT) end end