--Gardrenial Spirit - Growth local ref,id=GetID() function ref.initial_effect(c) --Summon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_TO_GRAVE) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetRange(LOCATION_HAND+LOCATION_MZONE) e1:SetCountLimit(1,id) e1:SetCost(ref.sscost) e1:SetTarget(ref.sstg) e1:SetOperation(ref.ssop) c:RegisterEffect(e1) --Extra Fusion local e3=Effect.CreateEffect(c) e3:SetType(EFFECT_TYPE_SINGLE) e3:SetCode(EFFECT_EXTRA_FUSION_MATERIAL) e3:SetRange(LOCATION_GRAVE) e3:SetTarget(aux.TargetBoolFunction(Card.IsAbleToRemove)) e3:SetOperation(ref.fusop) e3:SetValue(1) e3:SetCountLimit(1,{id,1}) c:RegisterEffect(e3) end --Search function ref.ssfilter(c,e,tp) return c:IsRace(RACE_PLANT) and c:IsControler(tp) and c:IsLocation(LOCATION_GRAVE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end function ref.sscost(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end Duel.SendtoGrave(e:GetHandler(),REASON_COST) end function ref.sstg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return eg:IsExists(ref.ssfilter,1,nil,e,tp) end Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,eg:Filter(ref.ssfilter,nil,e,tp),1,0,0) end function ref.ssop(e,tp,eg,ep,ev,re,r,rp) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) local g=eg:Filter(ref.ssfilter,nil,e,tp):Select(tp,1,1,nil) if #g>0 then Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) end end function ref.fusop(e,tc,tp,sg) Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_EFFECT+REASON_MATERIAL+REASON_FUSION) sg:Clear() end