File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33-- added by ClaireStanfield
44local s ,id = GetID ()
55function s .initial_effect (c )
6- -- indestructable
6+ -- Cannot be destroyed by Spell effects that do not target it
77 local e1 = Effect .CreateEffect (c )
88 e1 :SetType (EFFECT_TYPE_SINGLE )
99 e1 :SetProperty (EFFECT_FLAG_SINGLE_RANGE )
10- e1 :SetRange (LOCATION_MZONE )
1110 e1 :SetCode (EFFECT_INDESTRUCTABLE_EFFECT )
12- e1 :SetValue (s .ind1 )
11+ e1 :SetRange (LOCATION_MZONE )
12+ e1 :SetValue (s .indval )
1313 c :RegisterEffect (e1 )
14+ -- Cannot be destroyed by battle
1415 local e2 = Effect .CreateEffect (c )
1516 e2 :SetType (EFFECT_TYPE_SINGLE )
1617 e2 :SetCode (EFFECT_INDESTRUCTABLE_BATTLE )
17- e2 :SetValue (s . ind2 )
18+ e2 :SetValue (1 )
1819 c :RegisterEffect (e2 )
1920end
20- function s .ind1 (e ,re ,rp ,c )
21- return not re :IsHasProperty (EFFECT_FLAG_CARD_TARGET ) and re :IsActiveType ( TYPE_SPELL + TYPE_TRAP )
21+ function s .indval (e ,re ,rp ,c )
22+ return not re :IsHasProperty (EFFECT_FLAG_CARD_TARGET ) and re :IsSpellEffect ( )
2223end
23- function s .ind2 (e ,c )
24- return c :IsAttackBelow (1900 )
25- end
You can’t perform that action at this time.
0 commit comments