- fixed a bug with "/" keyword in _cards.dat parser
- added @next [phasename] keyword in parser
- new tests for recent changes
This commit is contained in:
wagic.the.homebrew
2008-11-14 15:03:27 +00:00
parent 3d22a25100
commit 28393e8f8a
5 changed files with 58 additions and 9 deletions

View File

@@ -23,6 +23,7 @@ counsel_of_the_soratami.txt
counterspell.txt
counterspell2.txt
drain_life.txt
flare.txt
force_of_nature.txt
force_of_nature2.txt
force_of_nature3.txt
@@ -30,6 +31,7 @@ ghost_warden.txt
giant_growth.txt
goblin_balloon_brigade.txt
goblin_balloon_brigade2.txt
goblin_king.txt
keldon_warlord.txt
kudzu.txt
kudzu2.txt

View File

@@ -0,0 +1,29 @@
#Testing flare effects. does it kill a 2/1 goblin piker ? Does player draw a card at next upkeep ?
[INIT]
FIRSTMAIN
[PLAYER1]
hand:2621
library:2772,2773
manapool:{2}{R}
[PLAYER2]
inplay:129580
[DO]
2621
129580
eot
#untap
next
#upkeep
next
#draw
next
#firstmain
[ASSERT]
FIRSTMAIN
[PLAYER1]
graveyard:2621
hand:2773
library:2772
[PLAYER2]
graveyard:129580
[END]

View File

@@ -0,0 +1,21 @@
#does goblin king (10E) give +1/+1 to goblins ? (Goblin piker 2/1 VS canopy spider 1/3)
[INIT]
COMBATATTACKERS
[PLAYER1]
inplay:129578,129580
[PLAYER2]
inplay:135185
[DO]
129580
next
135185
next
next
135185
[ASSERT]
COMBATEND
[PLAYER1]
inplay:129578,129580
[PLAYER2]
graveyard:135185
[END]