--Runath Hyqli local m=80898883 local cm=_G["c"..m] function cm.initial_effect(c) aux.AddLinkProcedure(c,cm.matfilter,2,2) c:EnableReviveLimit() Auxiliary.Add_Runeslots(c,1) Auxiliary.Ability_Infused(c) local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRange(LOCATION_GRAVE) e2:SetCountLimit(1,m) e2:SetCost(cm.cost2) e2:SetTarget(cm.target2) e2:SetOperation(cm.operation2) c:RegisterEffect(e2) end function cm.matfilter(c) return c:GetType(TYPE_MONSTER) end function cm.cost2(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.CheckRPCost(tp,1500) end Duel.PayRPCost(tp,1500) end function cm.target2(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) end function cm.operation2(e,tp,eg,ep,ev,re,r,rp) if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if e:GetHandler():IsRelateToEffect(e) then Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP) local c=e:GetHandler() local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetReset(RESET_EVENT+RESETS_REDIRECT) e1:SetValue(LOCATION_REMOVED) c:RegisterEffect(e1) end end