--Shadowbrave - Grimcar function c1392006.initial_effect(c) --Synchro Summon c:EnableReviveLimit() aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x920),aux.NonTuner(nil),1) --Gain ATK local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(1392006,0)) e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c1392006.atkcon) e1:SetOperation(c1392006.atkop) c:RegisterEffect(e1) end function c1392006.atkcon(e,tp,eg,ep,ev,re,r,rp) return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO end function c1392006.atkop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if not c:IsFaceup() or not c:IsRelateToEffect(e) then return end local ct=Duel.GetMatchingGroupCount(Card.IsSetCard,tp,LOCATION_GRAVE,0,nil,0x920) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetValue(ct*200) e1:SetReset(RESET_EVENT+0x1ff0000) c:RegisterEffect(e1) end