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] 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 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)) {