From 3b2ea8ea98e78a0fff994fc9c2bcb0936c168086 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sat, 9 Jul 2016 16:50:07 +0800 Subject: [PATCH 1/2] Create previousbattlefield.txt --- .../mtg/bin/Res/test/previousbattlefield.txt | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 projects/mtg/bin/Res/test/previousbattlefield.txt diff --git a/projects/mtg/bin/Res/test/previousbattlefield.txt b/projects/mtg/bin/Res/test/previousbattlefield.txt new file mode 100644 index 000000000..e236fb7ef --- /dev/null +++ b/projects/mtg/bin/Res/test/previousbattlefield.txt @@ -0,0 +1,65 @@ +#TEST: Act of Treason vs Blind with Anger testing "previousbattlefield" +[INIT] +COMBATATTACKERS +[PLAYER1] +inplay:grizzly bears, tundra, bayou, volcanic island, badlands +hand:Blind with Anger +[PLAYER2] +hand:act of treason +inplay:mountain,plains,swamp +[DO] +grizzly bears +eot +next +#upkeep +next +#draw +next +#firstmain +mountain +plains +swamp +act of treason +#player 2 controls grizzly bears it should be returned to player 1 +grizzly bears +next +#begin +next +#attackers +grizzly bears +next +#blockers +next +#damage +next +#end combat +next +next +yes +no +tundra +choice 1 +bayou +choice 1 +badlands +choice 1 +volcanic island +choice 1 +Blind with Anger +grizzly bears +#player 1 gains control grizzly bears, so previous battlefield will be player 2 +# if grizzly bear is returned in player 2 then its a bug but when it return to player 1 its ok +endinterruption +next +next +[ASSERT] +UNTAP +[PLAYER1] +life:18 +inplay:grizzly bears, tundra, bayou, volcanic island, badlands +graveyard:blind with anger +[PLAYER2] +inplay:mountain,plains,swamp +graveyard:act of treason +life:18 +[END] From cf362f1a6aa37c7ae2d5479517ce17da3c071747 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sat, 9 Jul 2016 16:50:45 +0800 Subject: [PATCH 2/2] Update _tests.txt --- projects/mtg/bin/Res/test/_tests.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index e314a970f..dc83fac83 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -534,6 +534,7 @@ pledge_protection.txt plumes_of_peace_i260.txt pouncing_jaguar_i425.txt power_armor.txt +previousbattlefield.txt promise_of_bunrei_i305.txt prosperity.txt protomatter_powder.txt