--VECTOR Frame Stellaris function c67864651.initial_effect(c) c:SetUniqueOnField(1,0,67864651) --fusion material c:EnableReviveLimit() aux.AddFusionProcFun2(c,c67864651.ffilter,c67864651.ffilter2,false) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(67864651,0)) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCountLimit(1,67864651) e1:SetCondition(c67864651.eqcon) e1:SetTarget(c67864651.eqtg) e1:SetOperation(c67864651.eqop) c:RegisterEffect(e1) end function c67864651.ffilter(c) return c:IsSetCard(0x2a6) and c:IsRace(RACE_CYBERSE) end function c67864651.ffilter2(c) return c:IsRace(RACE_WARRIOR) end function c67864651.eqcon(e,tp,eg,ep,ev,re,r,rp) return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) end function c67864651.eqtg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,e:GetHandler()) end end function c67864651.eqlimit(e,c) return e:GetOwner()==c end function c67864651.eqop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end if c:IsFacedown() or not c:IsRelateToEffect(e) then return end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP) local g=Duel.SelectMatchingCard(tp,Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,aux.ExceptThisCard(e)) local tc=g:GetFirst() if tc then local atk=tc:GetTextAttack()/2 if atk<0 then atk=0 end if not Duel.Equip(tp,tc,c,false) then return end --Add Equip limit tc:RegisterFlagEffect(67864651,RESET_EVENT+RESETS_STANDARD,0,0) e:SetLabelObject(tc) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_COPY_INHERIT+EFFECT_FLAG_OWNER_RELATE) e1:SetCode(EFFECT_EQUIP_LIMIT) e1:SetValue(c67864651.eqlimit) e1:SetReset(RESET_EVENT+RESETS_STANDARD) tc:RegisterEffect(e1) if atk>0 then local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_EQUIP) e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE+EFFECT_FLAG_OWNER_RELATE) e2:SetCode(EFFECT_UPDATE_ATTACK) e2:SetReset(RESET_EVENT+RESETS_STANDARD) e2:SetValue(atk) tc:RegisterEffect(e2) end else Duel.SendtoGrave(tc,REASON_EFFECT) end end