22-- Neo Flamvell Hedgehog
33local s ,id = GetID ()
44function s .initial_effect (c )
5- -- remove
5+ -- Banish 1 card in your opponent's GY
66 local e1 = Effect .CreateEffect (c )
77 e1 :SetDescription (aux .Stringid (id ,0 ))
88 e1 :SetCategory (CATEGORY_REMOVE )
@@ -12,7 +12,7 @@ function s.initial_effect(c)
1212 e1 :SetTarget (s .rmtg )
1313 e1 :SetOperation (s .rmop )
1414 c :RegisterEffect (e1 )
15- -- destroyed
15+ -- Add to your hand 1 FIRE monster with 200 or less DEF from your GY
1616 local e2 = Effect .CreateEffect (c )
1717 e2 :SetDescription (aux .Stringid (id ,1 ))
1818 e2 :SetCategory (CATEGORY_TOHAND )
@@ -24,6 +24,7 @@ function s.initial_effect(c)
2424 e2 :SetOperation (s .thop )
2525 c :RegisterEffect (e2 )
2626end
27+ s .listed_names = {id }
2728function s .rmfilter (c )
2829 return c :IsAbleToRemove () and aux .SpElimFilter (c )
2930end
@@ -45,7 +46,7 @@ function s.thcon(e,tp,eg,ep,ev,re,r,rp)
4546end
4647function s .filter (c )
4748 local def = c :GetDefense ()
48- return def >= 0 and def <= 200 and c :IsAttribute (ATTRIBUTE_FIRE ) and c : GetCode () ~= id and c :IsAbleToHand ()
49+ return def >= 0 and def <= 200 and c :IsAttribute (ATTRIBUTE_FIRE ) and not c : IsLinkMonster () and c :IsAbleToHand () and not c : IsCode ( id )
4950end
5051function s .thtg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk ,chkc )
5152 if chkc then return chkc :IsLocation (LOCATION_GRAVE ) and chkc :IsControler (tp ) and s .filter (chkc ) end
@@ -60,4 +61,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
6061 Duel .SendtoHand (tc ,nil ,REASON_EFFECT )
6162 Duel .ConfirmCards (1 - tp ,tc )
6263 end
63- end
64+ end
0 commit comments