Psyringe - added two test scripts for cycling, and a bug demonstartion script for a conflict between cycling and casting instants/sorceries.

This commit is contained in:
Psyyringe
2009-12-27 00:20:42 +00:00
parent 6e13ac53d7
commit 6135774016
4 changed files with 64 additions and 0 deletions

View File

@@ -112,6 +112,8 @@ benalish_knight.txt
black_vise.txt
blessed_wine.txt
blinking_spirit.txt
bloated_toad1.txt
bloated_toad2.txt
bloodfire_colossus.txt
bloodhall_ooze.txt
body_double.txt

View File

@@ -0,0 +1,19 @@
#NAME:Bloated Toad 1
#DESC:Verifies that the card can be
#DESC:cast correctly after choosing
#DESC:to do so (instead of cycling)
[INIT]
firstmain
[PLAYER1]
hand:Bloated Toad
manapool:{2}{G}
[PLAYER2]
[DO]
Bloated Toad
choice 0
[ASSERT]
firstmain
[PLAYER1]
inplay:Bloated Toad
[PLAYER2]
[END]

View File

@@ -0,0 +1,23 @@
#NAME:Bloated Toad 2
#DESC:Verifies that the card can be
#DESC:cycled even though the manapool
#DESC:would have been sufficient to
#DESC:cast it as well.
[INIT]
firstmain
[PLAYER1]
hand:Bloated Toad
manapool:{G}{G}{G}
library:Forest
[PLAYER2]
[DO]
Bloated Toad
choice 1
[ASSERT]
firstmain
[PLAYER1]
graveyard:Bloated Toad
hand:Forest
manapool:{G}
[PLAYER2]
[END]

View File

@@ -0,0 +1,20 @@
#NAME: Iron Will
#DESC: Bug: If a non-permanent with cycling
#DESC: is cast, and its cycling cost could
#DESC: be paid as well, then trying to cast
#DESC: results in a "Cancel" menu popping up,
#DESC: casting the spell is not possible.
#DESC: See http://code.google.com/p/wagic/issues/detail?id=270
[INIT]
firstmain
[PLAYER1]
inplay:Suntail Hawk
hand:Iron Will
library:Plains
manapool:{W}{W}
[PLAYER2]
[DO]
Iron Will
choice 0
Suntail Hawk
human