- Fixed Issue #2071

This commit is contained in:
fwannmacher 2016-07-25 15:59:49 -03:00 committed by fwann
parent 9390ec20b0
commit 9f08ce8b56
2 changed files with 4 additions and 3 deletions

View file

@ -21,19 +21,21 @@ public class SoulWardenTest extends CardTestPlayerBase {
public void testDisabledEffectOnChangeZone() { public void testDisabledEffectOnChangeZone() {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1); addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
addCard(Zone.HAND, playerA, "Lightning Bolt"); addCard(Zone.HAND, playerA, "Lightning Bolt");
addCard(Zone.BATTLEFIELD, playerA, "Plains", 2); addCard(Zone.BATTLEFIELD, playerA, "Plains", 4);
addCard(Zone.HAND, playerA, "Elite Vanguard", 2); addCard(Zone.HAND, playerA, "Elite Vanguard", 2);
addCard(Zone.HAND, playerA, "Raise the Alarm", 1);
addCard(Zone.BATTLEFIELD, playerA, "Soul Warden", 1); addCard(Zone.BATTLEFIELD, playerA, "Soul Warden", 1);
// Creature 2/1 // Creature 2/1
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Elite Vanguard"); castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Elite Vanguard");
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Raise the Alarm");
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Lightning Bolt", "Soul Warden"); castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Lightning Bolt", "Soul Warden");
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Elite Vanguard"); castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Elite Vanguard");
setStopAt(1, PhaseStep.END_TURN); setStopAt(1, PhaseStep.END_TURN);
execute(); execute();
assertLife(playerA, 21); assertLife(playerA, 23);
assertLife(playerB, 20); assertLife(playerB, 20);
} }

View file

@ -213,7 +213,6 @@ public class Token extends MageObjectImpl {
} }
} }
game.applyEffects();
return true; return true;
} }
return false; return false;