Psyringe - adding test script for issue 233. Fixing targeting issue with Karn's Touch (card still doesn't work though, see issue 233). Also (unrelated) adding script for (non-reproducible) problem reported in i232.

This commit is contained in:
Psyyringe
2009-12-05 10:37:40 +00:00
parent 6da34f642f
commit 5c2be8229e
4 changed files with 55 additions and 2 deletions

View File

@@ -200,6 +200,7 @@ hannas_custody.txt
harpoon_sniper.txt
hellfire.txt
holy_day_i226.txt
hopping_automaton_i232.txt
howl_from_beyond.txt
howl_of_the_night_pack.txt
hurricane.txt

View File

@@ -0,0 +1,25 @@
#NAME: Karn's Touch
#DESC: Bug: Karn's Touch either has no
#DESC: effect, or the effect is gets
#DESC: reverted immediately.
#DESC: See http://code.google.com/p/wagic/issues/detail?id=233
[INIT]
firstmain
[PLAYER1]
hand:Karn's Touch,Swords to Plowshares
inplay:Jayemdae Tome
manapool:{U}{U}{W}
[PLAYER2]
[DO]
human
Karn's Touch
Jayemdae Tome
Swords to Plowshares
Jayemdae Tome
[ASSERT]
firstmain
[PLAYER1]
graveyard:Karn's Touch,Swords to Plowshares,Jayemdae Tome
life:24
[PLAYER2]
[END]

View File

@@ -0,0 +1,27 @@
#NAME: Hopping Automaton
#DESC: Hopping Automaton was reported
#DESC: to crash the game.
#DESC: Crash could not be reproduced.
#DESC: See http://code.google.com/p/wagic/issues/detail?id=232
[INIT]
combatattackers
[PLAYER1]
inplay:Suntail Hawk
[PLAYER2]
inplay:Hopping Automaton
[DO]
Suntail Hawk
next
Hopping Automaton
choice 1
Hopping Automaton
choice 0
next
next
[ASSERT]
combatend
[PLAYER1]
graveyard:Suntail Hawk
[PLAYER2]
graveyard:Hopping Automaton
[END]