--Muscwole Brawnihilator local cid,id=GetID() function cid.initial_effect(c) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,cid.matfilter,1) --special summon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCountLimit(1,id) e1:SetCondition(cid.spcon) e1:SetCost(cid.spcost) e1:SetTarget(cid.sptg) e1:SetOperation(cid.spop) c:RegisterEffect(e1) --atkup local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_UPDATE_ATTACK) e2:SetRange(LOCATION_MZONE) e2:SetTargetRange(LOCATION_MZONE,0) e2:SetTarget(cid.atktg) e2:SetValue(700) c:RegisterEffect(e2) --Immune local e3=Effect.CreateEffect(c) e3:SetType(EFFECT_TYPE_SINGLE) e3:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e3:SetRange(LOCATION_MZONE) e3:SetCondition(cid.pcon) e3:SetValue(aux.tgoval) c:RegisterEffect(e3) local e4=e3:Clone() e4:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e4:SetValue(aux.indoval) c:RegisterEffect(e4) local e5=e3:Clone() e5:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e5:SetValue(1) c:RegisterEffect(e5) end function cid.atktg(e,c) return c:IsFaceup() and c:IsSetCard(0x777) end function cid.matfilter(c) return c:IsRace(RACE_WARRIOR) and c:GetAttack()>=1500 and not c:IsCode(id) end function cid.spcon(e,tp,eg,ep,ev,re,r,rp) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) end function cid.pcon(e,tp,eg,ep,ev,re,r,rp) return e:GetHandler():GetAttack()>=2800 and not Duel.IsExistingMatchingCard(aux.OR(Card.IsFacedown,aux.NOT(Card.IsSetCard)),e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil,0x777) end function cid.cfilter(c,e,tp) return c:IsSetCard(0x777) and c:IsAbleToRemoveAsCost() end function cid.cfilter2(c,e,tp) return c:IsSetCard(0x777) and c:IsAbleToHand() end function cid.spcost(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(cid.cfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) and Duel.IsExistingMatchingCard(cid.cfilter2,tp,LOCATION_DECK,0,1,nil,e,tp) end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) local g=Duel.SelectMatchingCard(tp,cid.cfilter,tp,LOCATION_GRAVE,0,1,1,nil,e,tp) if g:GetCount()>0 then Duel.Remove(g,POS_FACEUP,REASON_COST) end end function cid.sptg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(cid.cfilter2,tp,LOCATION_DECK,0,1,nil) end Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) end function cid.spop(e,tp,eg,ep,ev,re,r,rp) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) local g=Duel.SelectMatchingCard(tp,cid.cfilter2,tp,LOCATION_DECK,0,1,1,nil) if g:GetCount()>0 then Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.ConfirmCards(1-tp,g) end end