diff --git a/Mage.Sets/src/mage/sets/shadowmoor/Tatterkite.java b/Mage.Sets/src/mage/sets/shadowmoor/Tatterkite.java index 27c846f33a..72f220b3e1 100644 --- a/Mage.Sets/src/mage/sets/shadowmoor/Tatterkite.java +++ b/Mage.Sets/src/mage/sets/shadowmoor/Tatterkite.java @@ -60,7 +60,7 @@ public class Tatterkite extends CardImpl { this.addAbility(FlyingAbility.getInstance()); // Tatterkite can't have counters placed on it. - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantHaveCountersSourceEffect(Duration.WhileOnBattlefield))); + this.addAbility(new SimpleStaticAbility(Zone.ALL, new CantHaveCountersSourceEffect(Duration.WhileOnBattlefield))); } diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/UndyingTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/UndyingTest.java index 058b5e5bed..61333082f4 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/UndyingTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/UndyingTest.java @@ -228,6 +228,8 @@ public class UndyingTest extends CardTestPlayerBase { // Other non-Human creatures you control get +1/+1 and have undying. addCard(Zone.BATTLEFIELD, playerA, "Mikaeus, the Unhallowed", 1); + // Flying + // Tatterkite can't have counters placed on it. addCard(Zone.BATTLEFIELD, playerA, "Tatterkite", 1); // Artifact Creature - Scarecrow 2/1 castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Lightning Bolt", "Tatterkite"); @@ -239,8 +241,33 @@ public class UndyingTest extends CardTestPlayerBase { assertPermanentCount(playerA, "Tatterkite", 1); assertPermanentCount(playerA, "Mikaeus, the Unhallowed", 1); - assertCounterCount("Tatterkite", CounterType.P1P1, 1); - assertPowerToughness(playerA, "Tatterkite", 4, 3); + assertCounterCount("Tatterkite", CounterType.P1P1, 0); + assertPowerToughness(playerA, "Tatterkite", 3, 2); + + } + + @Test + public void testUndyingMikaeusAndTatterkiteSacrifice() { + // Sacrifice a creature: Add {C}{C} to your mana pool. + addCard(Zone.BATTLEFIELD, playerA, "Ashnod's Altar", 1); + // Whenever a Human deals damage to you, destroy it. + // Other non-Human creatures you control get +1/+1 and have undying. + addCard(Zone.BATTLEFIELD, playerA, "Mikaeus, the Unhallowed", 1); + + // Flying + // Tatterkite can't have counters placed on it. + addCard(Zone.BATTLEFIELD, playerA, "Tatterkite", 1); // Artifact Creature - Scarecrow 2/1 + + activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Sacrifice a creature"); + setChoice(playerA, "Tatterkite"); + + setStopAt(1, PhaseStep.BEGIN_COMBAT); + execute(); + + assertPermanentCount(playerA, "Tatterkite", 1); + assertPermanentCount(playerA, "Mikaeus, the Unhallowed", 1); + assertCounterCount("Tatterkite", CounterType.P1P1, 0); + assertPowerToughness(playerA, "Tatterkite", 3, 2); }