mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
[SOI] Fixed Altered Ego if no creature to copy was selected..
This commit is contained in:
parent
60e4830c0b
commit
f7e4ed40e5
2 changed files with 52 additions and 1 deletions
|
|
@ -58,4 +58,22 @@ public class AlteredEgoTest extends CardTestPlayerBase {
|
|||
assertPowerToughness(playerA, "Silvercoat Lion", 5, 5);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNoCreatureToCopyAvailable() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Forest", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Island", 6);
|
||||
// Altered Ego can't be countered.
|
||||
// You may have Altered Ego enter the battlefield as a copy of any creature on the battlefield, except it enters with an additional X +1/+1 counters on it.
|
||||
addCard(Zone.HAND, playerA, "Altered Ego"); // {X}{2}{G}{U}
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Altered Ego");
|
||||
setChoice(playerA, "X=3");
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, "Altered Ego", 0);
|
||||
assertGraveyardCount(playerA, "Altered Ego", 1);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue