* Necrotic Plague - Fixed that the second ability was a ability of the enchanted creature instead of the enchantment. Fixed that the new target creature was choosen during resolution instead of already set on stack.

This commit is contained in:
LevelX2 2014-03-15 19:56:10 +01:00
parent 532c51afd1
commit 9c9171a5ee
2 changed files with 91 additions and 128 deletions

View file

@ -36,8 +36,30 @@ public class NecroticPlagueTest extends CardTestPlayerBase {
@Test
public void testCard2() {
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 4);
/**
* Goblin Deathraiders English
* Creature Goblin Warrior 3/1, BR
* Trample
*/
addCard(Zone.BATTLEFIELD, playerA, "Goblin Deathraiders");
/**
* Necrotic Plague
* Enchantment Aura, 2BB
* Enchant creature
* Enchanted creature has "At the beginning of your upkeep, sacrifice this creature."
* When enchanted creature dies, its controller chooses target creature one of his or
* her opponents controls. Return Necrotic Plague from its owner's graveyard to the
* battlefield attached to that creature.
*/
addCard(Zone.HAND, playerA, "Necrotic Plague");
/**
* Sejiri Merfolk English
* Creature Merfolk Soldier 2/1, 1U
* As long as you control a Plains, Sejiri Merfolk has first strike and lifelink.
* (Damage dealt by a creature with lifelink also causes its controller to gain that much life.)
*/
addCard(Zone.BATTLEFIELD, playerB, "Sejiri Merfolk");
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Necrotic Plague", "Sejiri Merfolk");
@ -47,8 +69,9 @@ public class NecroticPlagueTest extends CardTestPlayerBase {
assertLife(playerA, 20);
assertLife(playerB, 20);
assertPermanentCount(playerA, "Goblin Deathraiders", 0);
assertPermanentCount(playerB, "Sejiri Merfolk", 0);
assertPermanentCount(playerA, "Goblin Deathraiders", 0);
assertGraveyardCount(playerA, 2);
assertGraveyardCount(playerA, "Necrotic Plague", 1);
assertGraveyardCount(playerA, "Goblin Deathraiders", 1);