mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Failing test based on bug report for two Phantasmal Images
This commit is contained in:
parent
6f37b658de
commit
82b4213753
1 changed files with 25 additions and 0 deletions
|
@ -93,4 +93,29 @@ public class PhantasmalImageTest extends CardTestPlayerBase {
|
||||||
Assert.assertFalse(masterCopied.getAbilities().contains(IndestructibleAbility.getInstance()));
|
Assert.assertFalse(masterCopied.getAbilities().contains(IndestructibleAbility.getInstance()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tests copying creature with BecomesTargetTriggeredAbility
|
||||||
|
*/
|
||||||
|
@Test
|
||||||
|
public void testCopyBecomesTargetTriggeredAbility() {
|
||||||
|
addCard(Constants.Zone.BATTLEFIELD, playerA, "Island", 4);
|
||||||
|
addCard(Constants.Zone.HAND, playerA, "Phantasmal Image", 2);
|
||||||
|
addCard(Constants.Zone.BATTLEFIELD, playerA, "Illusionary Servant");
|
||||||
|
|
||||||
|
setChoice(playerA, "Illusionary Servant");
|
||||||
|
setChoice(playerA, "Phantasmal Image");
|
||||||
|
|
||||||
|
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Phantasmal Image");
|
||||||
|
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Phantasmal Image");
|
||||||
|
|
||||||
|
setStopAt(1, Constants.PhaseStep.END_TURN);
|
||||||
|
execute();
|
||||||
|
|
||||||
|
assertLife(playerA, 20);
|
||||||
|
assertLife(playerB, 20);
|
||||||
|
|
||||||
|
assertGraveyardCount(playerA, 0);
|
||||||
|
assertPermanentCount(playerA, "Illusionary Servant", 3);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue