Balanced brackets check, sanitization, bug fixes
Added bracket balancing checks to the program for opening and closing sequences of parenthesis, square brackets, curly brackets, ,'ability$!' and '!$' characters, as well as for the 'and!(' opening sequence and the ')!' closing sequence.
Sanitization operations removing empty lines and spaces at end of line.
Pious Interdiction so the AI doesn't enchant own creatures.
All 724 Tests Succesful!
This commit is contained in:
@@ -7712,7 +7712,7 @@ toughness=3
|
||||
name=Aven Shrine
|
||||
auto=lord(*|opponentgraveyard) transforms((,newability[@movedTo(*[share!name!]|mystack):life:1 controller]))
|
||||
auto=lord(*|opponentgraveyard) transforms((,newability[@movedTo(*[share!name!]|opponentstack):life:1 opponent]))
|
||||
auto=lord(*|mygraveyard) transforms((,newability[@movedTo(*[share!name!]|mystack):life:1 controller)]))
|
||||
auto=lord(*|mygraveyard) transforms((,newability[@movedTo(*[share!name!]|mystack):life:1 controller]))
|
||||
auto=lord(*|mygraveyard) transforms((,newability[@movedTo(*[share!name!]|opponentstack):life:1 opponent]))
|
||||
text=Whenever a player casts a spell, that player gains X life, where X is the number of cards in all graveyards with the same name as that spell.
|
||||
mana={1}{W}{W}
|
||||
@@ -44982,7 +44982,7 @@ toughness=2
|
||||
[card]
|
||||
name=Geier Reach Sanitarium
|
||||
auto={T}:Add{C}
|
||||
auto={2}{T}:name(draw & discard) draw:1 all(player) && transforms((,newability[ability$!notatarget(*|myhand) reject)!$ controller],newability[ability$!notatarget(*|myhand) reject)!$ opponent])) all(this)
|
||||
auto={2}{T}:name(draw & discard) draw:1 all(player) && transforms((,newability[ability$!notatarget(*|myhand) reject!$ controller],newability[ability$!notatarget(*|myhand) reject!$ opponent])) all(this)
|
||||
text={T}: Add {C} to your mana pool. -- {2}, {T}: Each player draws a card, then discards a card.
|
||||
type=Legendary Land
|
||||
[/card]
|
||||
@@ -61561,7 +61561,7 @@ toughness=2
|
||||
[/card]
|
||||
[card]
|
||||
name=Kami of the Tended Garden
|
||||
auto=upcost[{G}] sacrifice)
|
||||
auto=upcost[{G}] sacrifice
|
||||
auto=_DIES_may moveTo(myhand) target(spirit[manacost<=3]|mygraveyard)
|
||||
text=At the beginning of your upkeep, sacrifice Kami of the Tended Garden unless you pay {G}. -- Soulshift 3 (When this dies, you may return target Spirit card with mana value 3 or less from your graveyard to your hand.)
|
||||
mana={3}{G}
|
||||
|
||||
Reference in New Issue
Block a user