From 5aeb2ebc0552d1a1f2e7e7b61b4db1effb432279 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Thu, 28 Jul 2016 21:35:43 +0800 Subject: [PATCH 1/3] Create TirelessGraf.txt --- projects/mtg/bin/Res/test/TirelessGraf.txt | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 projects/mtg/bin/Res/test/TirelessGraf.txt diff --git a/projects/mtg/bin/Res/test/TirelessGraf.txt b/projects/mtg/bin/Res/test/TirelessGraf.txt new file mode 100644 index 000000000..ad71b77c6 --- /dev/null +++ b/projects/mtg/bin/Res/test/TirelessGraf.txt @@ -0,0 +1,39 @@ +#Tireless Tracker counters vs Graf Mole opponents +[INIT] +FIRSTMAIN +[PLAYER1] +inplay:Concordant Crossroads, Swamp, Tireless Tracker, Mortician Beetle +library:Mountain +hand:Plains +[PLAYER2] +inplay:Graf Mole +[DO] +Plains +Swamp +Plains +Clue +#Tireless Tracker gets a counter +#Mortician sacrificed event must not trigger +#Graf Mole in opponents must not trigger and his life must not change +#begins +next +#attack +next +Tireless Tracker +Mortician Beetle +next +#damage +next +#end +eot +#untap +[ASSERT] +UNTAP +[PLAYER1] +inplay:Concordant Crossroads, Swamp, Tireless Tracker, Plains, Mortician Beetle +hand:Mountain +life:20 +[PLAYER2] +inplay:Graf Mole +life:15 +[END] From 239a186b3679f3390f698f1da4d3ec171ec69059 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Thu, 28 Jul 2016 21:36:21 +0800 Subject: [PATCH 2/3] 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 13feabb28..1dcc987d7 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -683,6 +683,7 @@ tidal_warrior_i649.txt tidal_warrior_i652.txt Timely_Reinforcements.txt TirelessTracker.txt +TirelessGraf.txt titanic_ultimatum.txt tokenizer.txt tokenizer2.txt From a20c2ce29a3852db91ec69b5f3768e4f18f42e5f Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Fri, 29 Jul 2016 07:30:20 +0800 Subject: [PATCH 3/3] Unused variable --- projects/mtg/include/AllAbilities.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index 17498f0fc..139f9e9c8 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -1372,7 +1372,7 @@ public: if (!e) return 0; MTGCardInstance * check = e->cardAfter; MTGGameZone * oldZone = e->cardAfter->currentZone; - MTGGameZone * currZone = check->currentZone; + //MTGGameZone * currZone = check->currentZone; check->currentZone = check->previousZone; if (check->next && (check->next->currentZone|| check->isToken)) {