mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Added one more test for manifest.
This commit is contained in:
parent
89c8425d94
commit
ac0d923afd
2 changed files with 32 additions and 2 deletions
|
@ -68,5 +68,36 @@ public class ManifestTest extends CardTestPlayerBase {
|
||||||
// not tapped
|
// not tapped
|
||||||
assertTapped("face down creature", false);
|
assertTapped("face down creature", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If Doomwake Giant gets manifested, it's Constellation trigger may not trigger
|
||||||
|
*/
|
||||||
|
@Test
|
||||||
|
public void testETBTriggeredAbilities2() {
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Plains", 2);
|
||||||
|
// Manifest the top card of your library {1}{W}
|
||||||
|
addCard(Zone.HAND, playerA, "Soul Summons");
|
||||||
|
|
||||||
|
// Constellation - When Doomwake Giant or another enchantment enters the battlefield
|
||||||
|
// under your control, creatures your opponents control get -1/-1 until end of turn.
|
||||||
|
addCard(Zone.LIBRARY, playerA, "Doomwake Giant");
|
||||||
|
|
||||||
|
addCard(Zone.BATTLEFIELD, playerB, "Silvercoat Lion");
|
||||||
|
skipInitShuffling();
|
||||||
|
|
||||||
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Soul Summons");
|
||||||
|
|
||||||
|
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||||
|
execute();
|
||||||
|
|
||||||
|
// no life gain
|
||||||
|
assertLife(playerA, 20);
|
||||||
|
assertLife(playerB, 20);
|
||||||
|
// a facedown creature is on the battlefield
|
||||||
|
assertPermanentCount(playerA, "face down creature", 1);
|
||||||
|
assertPowerToughness(playerA, "face down creature", 2, 2);
|
||||||
|
// PlayerB's Silvercoat Lion should not have get -1/-1/
|
||||||
|
assertPermanentCount(playerB, "Silvercoat Lion", 1);
|
||||||
|
assertPowerToughness(playerB, "Silvercoat Lion", 2, 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,6 @@ package mage.abilities.abilityword;
|
||||||
|
|
||||||
import mage.abilities.TriggeredAbilityImpl;
|
import mage.abilities.TriggeredAbilityImpl;
|
||||||
import mage.abilities.effects.Effect;
|
import mage.abilities.effects.Effect;
|
||||||
import mage.constants.AbilityWord;
|
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
|
|
Loading…
Reference in a new issue