1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-11 09:11:12 -09:00

- Fixed Issue

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
Mage.Tests/src/test/java/org/mage/test/cards/triggers
Mage/src/main/java/mage/game/permanent/token

View file

@ -21,19 +21,21 @@ public class SoulWardenTest extends CardTestPlayerBase {
public void testDisabledEffectOnChangeZone() {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
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, "Raise the Alarm", 1);
addCard(Zone.BATTLEFIELD, playerA, "Soul Warden", 1);
// Creature 2/1
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, "Elite Vanguard");
setStopAt(1, PhaseStep.END_TURN);
execute();
assertLife(playerA, 21);
assertLife(playerA, 23);
assertLife(playerB, 20);
}

View file

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