diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index 52597868c..1da10a1cd 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -22,6 +22,7 @@ generic/legendary.txt generic/lifelink.txt generic/m10_blockers.txt generic/m10_blockers2.txt +generic/nofizzle.txt generic/persist.txt generic/persist2.txt generic/persist3.txt @@ -47,12 +48,21 @@ generic/wither.txt #Specific Cards ######################## act_of_treason.txt +aether_mutation.txt afflict.txt akron_legionnaire.txt alluring_siren.txt Amugaba.txt anarchy.txt ancestors_chosen.txt +angry_mob1.txt +angry_mob2.txt +angry_mob3.txt +angry_mob4.txt +angry_mob4b.txt +angry_mob5.txt +angry_mob6.txt +angry_mob7.txt animate_artifact.txt animate_artifact2.txt animate_dead.txt @@ -127,6 +137,7 @@ crystal_rod_i172.txt dark_banishing.txt dauntless_escort.txt dauthi_embrace.txt +death_grasp.txt death_ward.txt deja_vu.txt dingus_egg.txt @@ -312,6 +323,7 @@ twitch.txt unstable_mutation.txt unstable_mutation2.txt unwilling_recruit.txt +urzas_lands.txt vampire_bats.txt vampiric_link.txt volcanic_eruption.txt diff --git a/projects/mtg/bin/Res/test/aether_mutation.txt b/projects/mtg/bin/Res/test/aether_mutation.txt new file mode 100644 index 000000000..626bfcfa8 --- /dev/null +++ b/projects/mtg/bin/Res/test/aether_mutation.txt @@ -0,0 +1,22 @@ +#NAME: Aether Mutation +#DESC: Verifies that Aether Mutation +#DESC: produces the correct amount +#DESC: of Saproling Tokens +[INIT] +firstmain +[PLAYER1] +hand:28669 +manapool:{3}{G}{U} +[PLAYER2] +inplay:Grizzly Bears +[DO] +28669 +Grizzly Bears +[ASSERT] +firstmain +[PLAYER1] +inplay:-28669,-28669 +graveyard:28669 +[PLAYER2] +hand:Grizzly Bears +[END] diff --git a/projects/mtg/bin/Res/test/angry_mob1.txt b/projects/mtg/bin/Res/test/angry_mob1.txt new file mode 100644 index 000000000..b67b42e3b --- /dev/null +++ b/projects/mtg/bin/Res/test/angry_mob1.txt @@ -0,0 +1,22 @@ +#NAME: Angry Mob 1 +#DESC: Tests whether Angry Mob gets +#DESC: its bonus when put into play. +[INIT] +firstmain +[PLAYER1] +hand:Angry Mob,Swords to Plowshares +manapool:{W}{W}{W}{W}{W} +[PLAYER2] +inplay:1373,1374,1375 +[DO] +Angry Mob +Swords to Plowshares +Angry Mob +[ASSERT] +firstmain +[PLAYER1] +graveyard:Swords to Plowshares +life:25 +[PLAYER2] +inplay:1373,1374,1375 +[END] diff --git a/projects/mtg/bin/Res/test/angry_mob2.txt b/projects/mtg/bin/Res/test/angry_mob2.txt new file mode 100644 index 000000000..eba0817f5 --- /dev/null +++ b/projects/mtg/bin/Res/test/angry_mob2.txt @@ -0,0 +1,27 @@ +#NAME: Angry Mob 2 +#DESC: Tests whether Angry Mob's bonus gets +#DESC: correctly updated when the opponent's +#DESC: number of swamps changes in the player's +#DESC: turn. +[INIT] +firstmain +[PLAYER1] +hand:Angry Mob,Swords to Plowshares,Boomerang +manapool:{W}{W}{2}{W}{U}{U} +[PLAYER2] +inplay:1373,1374,1375 +[DO] +Angry Mob +Boomerang +1375 +Swords to Plowshares +Angry Mob +[ASSERT] +firstmain +[PLAYER1] +graveyard:Swords to Plowshares,Boomerang +life:24 +[PLAYER2] +inplay:1373,1374 +hand:1375 +[END] diff --git a/projects/mtg/bin/Res/test/angry_mob3.txt b/projects/mtg/bin/Res/test/angry_mob3.txt new file mode 100644 index 000000000..00a84e8d6 --- /dev/null +++ b/projects/mtg/bin/Res/test/angry_mob3.txt @@ -0,0 +1,29 @@ +#NAME: Angry Mob 3 +#DESC: Tests whether Angry Mob's bonus gets +#DESC: correctly removed during the opponent's +#DESC: turn. +[INIT] +secondmain +[PLAYER1] +hand:Angry Mob +manapool:{W}{W}{2} +[PLAYER2] +inplay:1373,1374,1375,Plains +hand:Swords to Plowshares +[DO] +Angry Mob +eot +next +next +next +Plains +Swords to Plowshares +Angry Mob +[ASSERT] +firstmain +[PLAYER1] +life:22 +[PLAYER2] +inplay:1373,1374,1375,Plains +graveyard:Swords to Plowshares +[END] diff --git a/projects/mtg/bin/Res/test/angry_mob4.txt b/projects/mtg/bin/Res/test/angry_mob4.txt new file mode 100644 index 000000000..e2a08256a --- /dev/null +++ b/projects/mtg/bin/Res/test/angry_mob4.txt @@ -0,0 +1,32 @@ +#NAME: Angry Mob 4 +#DESC: Tests whether Angry Mob's bonus gets +#DESC: correctly removed during the opponent's +#DESC: turn, and not influenced if the +#DESC: opponent's number of swamps increases +#DESC: during his turn. +[INIT] +secondmain +[PLAYER1] +hand:Angry Mob +manapool:{W}{W}{2} +[PLAYER2] +inplay:1373,1374,Plains +hand:Swords to Plowshares,1375 +[DO] +Angry Mob +eot +next +next +next +1375 +Plains +Swords to Plowshares +Angry Mob +[ASSERT] +firstmain +[PLAYER1] +life:22 +[PLAYER2] +inplay:1373,1374,1375,Plains +graveyard:Swords to Plowshares +[END] diff --git a/projects/mtg/bin/Res/test/angry_mob4b.txt b/projects/mtg/bin/Res/test/angry_mob4b.txt new file mode 100644 index 000000000..76be465d0 --- /dev/null +++ b/projects/mtg/bin/Res/test/angry_mob4b.txt @@ -0,0 +1,36 @@ +#NAME: Angry Mob 4b +#DESC: Tests whether Angry Mob's bonus gets +#DESC: correctly removed during the opponent's +#DESC: turn, and not influenced if the +#DESC: opponent's number of swamps DEcreases +#DESC: during his turn. +[INIT] +secondmain +[PLAYER1] +hand:Angry Mob +manapool:{W}{W}{2} +[PLAYER2] +inplay:1373,1374,1375,Plains +hand:Swords to Plowshares,Rain of Tears +[DO] +Angry Mob +eot +next +next +next +1373 +1374 +1375 +Rain of Tears +1375 +Plains +Swords to Plowshares +Angry Mob +[ASSERT] +firstmain +[PLAYER1] +life:22 +[PLAYER2] +inplay:1373,1374,Plains +graveyard:Swords to Plowshares,Rain of Tears,1375 +[END] diff --git a/projects/mtg/bin/Res/test/angry_mob5.txt b/projects/mtg/bin/Res/test/angry_mob5.txt new file mode 100644 index 000000000..12d26b0be --- /dev/null +++ b/projects/mtg/bin/Res/test/angry_mob5.txt @@ -0,0 +1,31 @@ +#NAME: Angry Mob 5 +#DESC: Tests whether Angry Mob's bonus gets +#DESC: correctly set at the beginning of the +#DESC: player's turn. +[INIT] +secondmain +[PLAYER1] +inplay:Plains +hand:Angry Mob,Swords to Plowshares +manapool:{W}{W}{2} +[PLAYER2] +inplay:1373,1374,1375 +[DO] +Angry Mob +eot +eot +next +next +next +Plains +Swords to Plowshares +Angry Mob +[ASSERT] +firstmain +[PLAYER1] +inplay:Plains +graveyard:Swords to Plowshares +life:25 +[PLAYER2] +inplay:1373,1374,1375 +[END] diff --git a/projects/mtg/bin/Res/test/angry_mob6.txt b/projects/mtg/bin/Res/test/angry_mob6.txt new file mode 100644 index 000000000..295b1063c --- /dev/null +++ b/projects/mtg/bin/Res/test/angry_mob6.txt @@ -0,0 +1,38 @@ +#NAME: Angry Mob 6 +#DESC: Tests whether Angry Mob's bonus gets +#DESC: correctly set at the beginning of the +#DESC: player's turn, and correctly updated +#DESC: if the number of the opponent's swamps +#DESC: changes during the player's turn. +[INIT] +secondmain +[PLAYER1] +inplay:Plains,1392,1393 +hand:Angry Mob,Swords to Plowshares,Boomerang +manapool:{W}{W}{2} +[PLAYER2] +inplay:1373,1374,1375 +[DO] +Angry Mob +eot +eot +next +next +next +1392 +1393 +Boomerang +1375 +Plains +Swords to Plowshares +Angry Mob +[ASSERT] +firstmain +[PLAYER1] +inplay:Plains,1392,1393 +graveyard:Swords to Plowshares,Boomerang +life:24 +[PLAYER2] +inplay:1373,1374 +hand:1375 +[END] diff --git a/projects/mtg/bin/Res/test/angry_mob7.txt b/projects/mtg/bin/Res/test/angry_mob7.txt new file mode 100644 index 000000000..d82073fa7 --- /dev/null +++ b/projects/mtg/bin/Res/test/angry_mob7.txt @@ -0,0 +1,28 @@ +#NAME: Angry Mob 7 +#DESC: Tests whether Angry Mob's bonus gets +#DESC: correctly updated when a swamp is +#DESC: returned to the oppoenent's control +#DESC: during the player's turn. +[INIT] +firstmain +[PLAYER1] +hand:Angry Mob,Swords to Plowshares,Annex,Demystify +manapool:{W}{W}{4}{W}{W}{U}{U} +[PLAYER2] +inplay:1373,1374,1375 +[DO] +Annex +1373 +Angry Mob +Demystify +Annex +Swords to Plowshares +Angry Mob +[ASSERT] +firstmain +[PLAYER1] +graveyard:Swords to Plowshares,Annex,Demystify +life:25 +[PLAYER2] +inplay:1373,1374,1375 +[END] diff --git a/projects/mtg/bin/Res/test/bugs/fallowsage_ailoop_i227.txt b/projects/mtg/bin/Res/test/bugs/fallowsage_ailoop_i227.txt new file mode 100644 index 000000000..938ca4e95 --- /dev/null +++ b/projects/mtg/bin/Res/test/bugs/fallowsage_ailoop_i227.txt @@ -0,0 +1,22 @@ +#NAME: Fallowsage +#DESC: Bug: AI is caught in an endless +#DESC: loop if it tries to attack with +#DESC: Fallowsage. +#DESC: See http://code.google.com/p/wagic/issues/detail?id=227 +[INIT] +combatattackers +[PLAYER1] +inplay:Fallowsage +library:Island,Plains,Swamp,Mountain,Forest +[PLAYER2] +[DO] +ai +ai +ai +ai +ai +ai +ai +ai +ai +ai diff --git a/projects/mtg/bin/Res/test/bugs/fallowsage_i227.txt b/projects/mtg/bin/Res/test/bugs/fallowsage_i227.txt new file mode 100644 index 000000000..e18c4c9c9 --- /dev/null +++ b/projects/mtg/bin/Res/test/bugs/fallowsage_i227.txt @@ -0,0 +1,24 @@ +#NAME: Fallowsage +#DESC: Bug: Fallowsage allows +#DESC: multiple drawing of cards. +#DESC: See http://code.google.com/p/wagic/issues/detail?id=227 +[INIT] +combatattackers +[PLAYER1] +inplay:Fallowsage +library:Plains,Swamp,Mountain,Forest,Island +[PLAYER2] +[DO] +Fallowsage +choice 1 +Fallowsage +Fallowsage +choice 1 +[ASSERT] +combatattackers +[PLAYER1] +inplay:Fallowsage +library:Plains,Swamp,Mountain,Forest +hand:Island +[PLAYER2] +[END] diff --git a/projects/mtg/bin/Res/test/death_grasp.txt b/projects/mtg/bin/Res/test/death_grasp.txt new file mode 100644 index 000000000..4c3bcd370 --- /dev/null +++ b/projects/mtg/bin/Res/test/death_grasp.txt @@ -0,0 +1,21 @@ +#NAME: Death Grasp +#DESC: Verifies that Death Grasp +#DESC: takes and gives the correct +#DESC: amount (X) of life. +[INIT] +firstmain +[PLAYER1] +hand:Death Grasp +manapool:{W}{B}{10} +[PLAYER2] +[DO] +Death Grasp +p2 +[ASSERT] +firstmain +[PLAYER1] +graveyard:Death Grasp +life:30 +[PLAYER2] +life:10 +[END] diff --git a/projects/mtg/bin/Res/test/generic/nofizzle.txt b/projects/mtg/bin/Res/test/generic/nofizzle.txt new file mode 100644 index 000000000..ffb64d358 --- /dev/null +++ b/projects/mtg/bin/Res/test/generic/nofizzle.txt @@ -0,0 +1,28 @@ +#NAME: Nofizzle +#DESC: Verifiues that the nofizzle keyword +#DESC: works as expected: spells with nofizzle +#DESC: can't be countered, but other effects +#DESC: of the countering spell take effect. +[INIT] +firstmain +[PLAYER1] +hand:Great Sable Stag +manapool:{G}{G}{G} +[PLAYER2] +hand:Absorb +manapool:{W}{U}{U} +[DO] +Great Sable Stag +no +yes +Absorb +Great Sable Stag +endinterruption +[ASSERT] +firstmain +[PLAYER1] +inplay:Great Sable Stag +[PLAYER2] +graveyard:Absorb +life:23 +[END] diff --git a/projects/mtg/bin/Res/test/urzas_lands.txt b/projects/mtg/bin/Res/test/urzas_lands.txt new file mode 100644 index 000000000..7d283016e --- /dev/null +++ b/projects/mtg/bin/Res/test/urzas_lands.txt @@ -0,0 +1,29 @@ +#NAME: Urza's Lands +#DESC: Verifies that Urza's lands +#DESC: give 2 mana if you have all +#DESC: three in play, and 1 if you +#DESC: don't. +#DESC: +#DESC: NOTE: The cards currently don't work exactly +#DESC: as they should. They give you a choice that +#DESC: you shouldn't have. Once this is fixed, the +#DESC: line "choice 1" needs to be removed from this +#DESC: script (along with this notice). +[INIT] +firstmain +[PLAYER1] +inplay:Urza's Mine,Urza's Power Plant +hand:Urza's Tower +[PLAYER2] +[DO] +Urza's Mine +Urza's Tower +Urza's Tower +choice 1 +[ASSERT] +firstmain +[PLAYER1] +inplay:Urza's Mine,Urza's Power Plant,Urza's Tower +manapool:{3} +[PLAYER2] +[END]