From edb1374c324ebf06e5089280736889c6f9417eb3 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sat, 4 Jun 2016 08:47:06 +0800 Subject: [PATCH 1/2] Create Sphere_of_Resistance.txt --- .../mtg/bin/Res/test/Sphere_of_Resistance.txt | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 projects/mtg/bin/Res/test/Sphere_of_Resistance.txt diff --git a/projects/mtg/bin/Res/test/Sphere_of_Resistance.txt b/projects/mtg/bin/Res/test/Sphere_of_Resistance.txt new file mode 100644 index 000000000..480952cb3 --- /dev/null +++ b/projects/mtg/bin/Res/test/Sphere_of_Resistance.txt @@ -0,0 +1,25 @@ +#Testing Sphere of Resistance +#It must not crash with buyback +[INIT] +FIRSTMAIN +[PLAYER1] +inplay:Sphere of Resistance,Swamp +hand:Capsize +manapool:{6}{U}{U}{U}{U} +[PLAYER2] +[DO] +Capsize +# pay buyback +choice 1 +Sphere of Resistance +Capsize +Swamp + +[ASSERT] +FIRSTMAIN +[PLAYER1] +graveyard:Capsize +hand:Sphere of Resistance,Swamp +manapool{0} +[PLAYER2] +[END] From 1400f33f64a7c28e62d890f3b0bf4799e1ed7e6a Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sat, 4 Jun 2016 08:48:19 +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 5ef04fa98..f1994069b 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -635,6 +635,7 @@ spark_elemental.txt spectral_shield_CANTBETARGETOF.txt spell_rupture.txt spell_rupture_2.txt +Sphere_of_Resistance.txt sphinx_summoner.txt spirit_link.txt spirit_link_i173.txt