Psyringe - added test scripts for issue 221.

This commit is contained in:
Psyyringe
2009-11-26 04:03:08 +00:00
parent 15ce94ceaf
commit d0e5f3c24c
3 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
#NAME: Animated Legendaries 1
#DESC: Legendary creatures with "Animate Dead" cast
#DESC: on them don't get buried ny the Legendary rule.
#DESC: The script animates a legend, afterwards the
#DESC: opponent plays the same legend.
#DESC: See http://code.google.com/p/wagic/issues/detail?id=221
[INIT]
secondmain
[PLAYER1]
hand:Animate Dead
manapool:{B}{B}
[PLAYER2]
inplay:2743,2744,2745,1392,1393,1394
graveyard:106426
hand:39932
[DO]
Animate Dead
106426
eot
next
next
next
2743
2744
2745
1392
1393
1394
39932
[ASSERT]
firstmain
[PLAYER1]
graveyard:Animate Dead
[PLAYER2]
inplay:2743,2744,2745,1392,1393,1394
graveyard:39932,106426
[END]

View File

@@ -0,0 +1,23 @@
#NAME: Animated Legendaries 2
#DESC: Legendary creatures with "Animate Dead" cast
#DESC: on them don't get buried ny the Legendary rule.
#DESC: The script animates a legend, afterwards the
#DESC: *same* player plays the same legend.
#DESC: See http://code.google.com/p/wagic/issues/detail?id=221
[INIT]
firstmain
[PLAYER1]
graveyard:106426
hand:39932,Animate Dead
manapool:{B}{B}{U}{U}{U}{U}{U}{U}
[PLAYER2]
[DO]
Animate Dead
106426
39932
[ASSERT]
firstmain
[PLAYER1]
graveyard:Animate Dead,39932,106426
[PLAYER2]
[END]

View File

@@ -0,0 +1,22 @@
#NAME: Animated Legendaries 3
#DESC: Legendary creatures with "Animate Dead" cast
#DESC: on them don't get buried ny the Legendary rule.
#DESC: This script just tests whether the same legendary
#DESC: (with different IDs) is correctly affected by
#DESC: the Legendary rule if no Animate Dead is involved.
#DESC: See http://code.google.com/p/wagic/issues/detail?id=221
[INIT]
firstmain
[PLAYER1]
inplay:106426
hand:39932
manapool:{U}{U}{U}{U}{U}{U}
[PLAYER2]
[DO]
39932
[ASSERT]
firstmain
[PLAYER1]
graveyard:39932,106426
[PLAYER2]
[END]