From 231a18a79cf3c8ea5d83c9642eaae30d401d7f02 Mon Sep 17 00:00:00 2001 From: fwannmacher Date: Tue, 26 Jul 2016 12:44:04 -0300 Subject: [PATCH] - Fixed Issue #2121 --- .../EntersTheBattlefieldTriggerTest.java | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/triggers/EntersTheBattlefieldTriggerTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/triggers/EntersTheBattlefieldTriggerTest.java index 0db5891f29c..36a23246fb3 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/triggers/EntersTheBattlefieldTriggerTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/triggers/EntersTheBattlefieldTriggerTest.java @@ -309,10 +309,26 @@ public class EntersTheBattlefieldTriggerTest extends CardTestPlayerBase { addCard(Zone.BATTLEFIELD, playerB, "Scathe Zombies", 1); // 2/2 Zombie {2}{B} castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Noxious Ghoul"); + /* + * playerA's Carnivorous Plant will get -1/-1 from Noxious Ghoul -> 3/4 + * playerB's Carnivorous Plant will get -1/-1 from Noxious Ghoul -> 3/4 + */ castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Clone"); setChoice(playerA, "Noxious Ghoul"); + /* + * playerA's Carnivorous Plant will get -1/-1 from Clone -> 2/3 + * playerB's Carnivorous Plant will get -1/-1 from Clone -> 2/3 + */ castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerB, "Ego Erasure", "targetPlayer=PlayerA", "Whenever"); + /* + * playerA' Noxious Ghoul will get -2/0 -> 1/3 + * playerA's Carnivorous Plant will get -2/0 > 0/3 + * playerA' Noxious Ghoul will get -1/-1 from Clone -> 0/2 + * playerA' Noxious Ghoul will get -1/-1 from itself -> -1/1 + * playerA's Carnivorous Plant will get -1/-1 from Noxious Ghoul -> -1/2 + * playerB's Carnivorous Plant will get -1/-1 from Noxious Ghoul -> 1/2 + */ setStopAt(1, PhaseStep.END_TURN); execute(); @@ -322,7 +338,7 @@ public class EntersTheBattlefieldTriggerTest extends CardTestPlayerBase { assertPowerToughness(playerA, "Noxious Ghoul", -1, 1, Filter.ComparisonScope.All);// -1/-1 from the second Noxious Ghoul also if it's no zombie assertGraveyardCount(playerB, "Zephyr Falcon", 1); - assertPowerToughness(playerB, "Carnivorous Plant", 2, 3); - assertPowerToughness(playerA, "Carnivorous Plant", 0, 3); + assertPowerToughness(playerB, "Carnivorous Plant", 1, 2); + assertPowerToughness(playerA, "Carnivorous Plant", -1, 2); } }