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:
@@ -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
|
||||
|
||||
19
projects/mtg/bin/Res/test/bloated_toad1.txt
Normal file
19
projects/mtg/bin/Res/test/bloated_toad1.txt
Normal 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]
|
||||
23
projects/mtg/bin/Res/test/bloated_toad2.txt
Normal file
23
projects/mtg/bin/Res/test/bloated_toad2.txt
Normal 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]
|
||||
20
projects/mtg/bin/Res/test/bugs/iron_will_i270.txt
Normal file
20
projects/mtg/bin/Res/test/bugs/iron_will_i270.txt
Normal 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
|
||||
Reference in New Issue
Block a user