@@ -17,15 +17,24 @@ function s.initial_effect(c)
1717 e2 :SetTarget (aux .TargetBoolFunction (s .extrafil_repl_filter ))
1818 e2 :SetOperation (s .operation )
1919 e2 :SetLabelObject ({s .extrafil_replacement ,s .extramat })
20- e2 :SetValue (function ( _ , c ) return c and c : IsRace ( RACE_GALAXY ) and c : IsAttribute ( ATTRIBUTE_LIGHT | ATTRIBUTE_DARK ) end )
20+ e2 :SetValue (1 )
2121 c :RegisterEffect (e2 )
2222end
2323s .listed_names = {CARD_FUSION ,160015051 }
2424function s .extrafil_repl_filter (c )
2525 return c :IsMonster () and c :IsAbleToGrave () and c :IsAttribute (ATTRIBUTE_LIGHT |ATTRIBUTE_DARK ) and c :IsRace (RACE_GALAXY )
2626end
27+ function s .fcheck (tp ,sg ,fc )
28+ if fc and sg :IsExists (Card .IsLocation ,1 ,nil ,LOCATION_HAND ) then
29+ return fc :IsRace (RACE_GALAXY ) and fc :IsAttribute (ATTRIBUTE_LIGHT |ATTRIBUTE_DARK )
30+ end
31+ return true
32+ end
2733function s .extrafil_replacement (e ,tp ,mg )
28- return Duel .GetMatchingGroup (aux .NecroValleyFilter (s .extrafil_repl_filter ),tp ,LOCATION_GRAVE ,0 ,nil )
34+ if not e :GetHandler ():IsCode (CARD_FUSION ) then
35+ return Group .CreateGroup ()
36+ end
37+ return Duel .GetMatchingGroup (aux .NecroValleyFilter (s .extrafil_repl_filter ),tp ,LOCATION_HAND ,0 ,nil ),s .fcheck
2938end
3039function s .extramat (c ,e ,tp )
3140 return c :IsControler (tp ) and e :GetHandler ():IsCode (CARD_FUSION )
0 commit comments