--Chronologist Warp --Keddy was here~ local cod,id=GetID() function cod.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --Special Summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(id,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRange(LOCATION_SZONE) e2:SetCountLimit(1,id) e2:SetCondition(cod.spcon) e2:SetTarget(cod.sptg) e2:SetOperation(cod.spop) c:RegisterEffect(e2) --Move Turn Count local e3=Effect.CreateEffect(c) e3:SetDescription(aux.Stringid(id,1)) e3:SetType(EFFECT_TYPE_IGNITION) e3:SetRange(LOCATION_SZONE) e3:SetCountLimit(1,id+1) e3:SetCondition(cod.mtcon) e3:SetOperation(cod.mtop) c:RegisterEffect(e3) end --Special Summon function cod.spfilter(c,e,tp) return c:IsSetCard(0x593) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end function cod.mfilter(c) return c:IsType(TYPE_MONSTER) and c:IsLevelBelow(4) and c:IsSetCard(0x593) end function cod.spcon(e,tp,eg,ep,ev,re,r,rp) return Duel.IsExistingMatchingCard(cod.mfilter,tp,LOCATION_MZONE,0,1,nil) end function cod.sptg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsExistingMatchingCard(cod.spfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,nil,e,tp) end Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND+LOCATION_GRAVE) end function cod.spop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if not c:IsRelateToEffect(e) then return end local g=Duel.SelectMatchingCard(tp,cod.spfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp) if g:GetCount()==0 then return end Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) end --Move Turn Count function cod.cfilter(c) return c:IsType(TYPE_LINK) and c:IsSetCard(0x593) end function cod.mtcon(e,tp,eg,ep,ev,re,r,rp) return Duel.IsExistingMatchingCard(cod.cfilter,tp,LOCATION_ONFIELD,0,1,nil) end function cod.mtop(e,tp,eg,ep,ev,re,r,rp) Duel.MoveTurnCount() end