Psyringe - relocated some more currently unused test scripts. Fixed a syntax error in script "ebony_horse.txt" - the command is "endinterruptin", not "endofinterruption". The latter didn't do any harm in this script, but we're encouraging people to look at existing scripts for inspiration, so we should make sure that they only use correct syntax. :) Also "fixed" alphabetic order of tests in _tests.txt (very minor thing, but it helped me discover that one test was unnecessarily run twice - I probably introduced this duplication myself).

This commit is contained in:
Psyyringe
2009-11-14 13:19:00 +00:00
parent aa2121e4fa
commit 0d4a767303
7 changed files with 10 additions and 11 deletions
@@ -0,0 +1,21 @@
#creature comes into play and destroy stuff
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Angel of Despair
manapool:{3}{W}{W}{B}{B}
[PLAYER2]
inplay:129586
[DO]
Angel of Despair
129586
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Angel of Despair
manapool:{0}
life:20
[PLAYER2]
graveyard:129586
life:20
[END]
@@ -0,0 +1,19 @@
#comes into play and move target
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Looming Hoverguard
manapool:{4}{U}{U}
[PLAYER2]
inplay:Dragon Engine
[DO]
Looming Hoverguard
Dragon Engine
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Looming Hoverguard
[PLAYER2]
library:Dragon Engine
life:20
[END]
@@ -0,0 +1,19 @@
# testing target=creature[anything]
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Ogre Gatecrasher
manapool:{3}{R}
[PLAYER2]
inplay:Angelic Wall
[DO]
Ogre Gatecrasher
Angelic Wall
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Ogre Gatecrasher
[PLAYER2]
graveyard:Angelic Wall
life:20
[END]
@@ -0,0 +1,21 @@
#comes into play, destroy target artifact
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Viridian Shaman
manapool:{2}{G}
[PLAYER2]
inplay:Bottle Gnomes
[DO]
Viridian Shaman
Bottle Gnomes
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Viridian Shaman
manapool:{0}
life:20
[PLAYER2]
graveyard:Bottle Gnomes
life:20
[END]