File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,15 @@ function s.initial_effect(c)
1212 e1 :SetValue (s .val )
1313 c :RegisterEffect (e1 )
1414 -- Cannot Change Battle Position
15- local e1 = Effect .CreateEffect (c )
16- e1 :SetType (EFFECT_TYPE_FIELD )
17- e1 :SetCode (EFFECT_CANNOT_CHANGE_POS_E )
18- e1 :SetProperty (EFFECT_FLAG_SET_AVAILABLE )
19- e1 :SetRange (LOCATION_MZONE )
20- e1 :SetTargetRange (LOCATION_MZONE ,0 )
21- e1 :SetTarget (s .target )
22- c :RegisterEffect (e1 )
15+ local e2 = Effect .CreateEffect (c )
16+ e2 :SetType (EFFECT_TYPE_FIELD )
17+ e2 :SetCode (EFFECT_CANNOT_CHANGE_POS_E )
18+ e2 :SetProperty (EFFECT_FLAG_SET_AVAILABLE )
19+ e2 :SetRange (LOCATION_MZONE )
20+ e2 :SetTargetRange (LOCATION_MZONE ,0 )
21+ e2 :SetTarget (s .target )
22+ e2 :SetValue (s .efilter )
23+ c :RegisterEffect (e2 )
2324end
2425function s .filter (c )
2526 return c :IsFaceup () and c :IsType (TYPE_FUSION ) and not c :IsMaximumModeSide ()
@@ -29,4 +30,7 @@ function s.val(e,c)
2930end
3031function s .target (e ,c )
3132 return c :IsAttackPos () and c :IsRace (RACE_CYBERSE )
33+ end
34+ function s .efilter (e ,te )
35+ return te :GetOwnerPlayer ()== e :GetOwnerPlayer ()
3236end
You can’t perform that action at this time.
0 commit comments