mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
* Morph - Fixed that token copies of morphed creatures (e.g. by Supplant Form) came into play like the morphed creature face up instead of a 2/2 nameless creatures.
This commit is contained in:
parent
96a23d42cc
commit
a845340e0d
3 changed files with 55 additions and 13 deletions
|
|
@ -552,4 +552,37 @@ public class MorphTest extends CardTestPlayerBase {
|
|||
assertLife(playerB, 20);
|
||||
|
||||
}
|
||||
/**
|
||||
* Supplant Form does not work correctly with morph creatures. If you bounce and copy
|
||||
* a face-down morph, the created token should be a colorless 2/2, but the token created
|
||||
* is instead the face-up of what the morph creature was.
|
||||
*/
|
||||
|
||||
@Test
|
||||
public void testSupplantFormWithMorphedCreature() {
|
||||
addCard(Zone.HAND, playerA, "Akroma, Angel of Fury", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3);
|
||||
|
||||
// Return target creature to its owner's hand. You put a token onto the battlefield that's a copy of that creature
|
||||
addCard(Zone.HAND, playerB, "Supplant Form", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Island", 6);
|
||||
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Akroma, Angel of Fury");
|
||||
setChoice(playerA, "Yes"); // cast it face down as 2/2 creature
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerB, "Supplant Form", "face down creature");
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertLife(playerB, 20);
|
||||
|
||||
assertGraveyardCount(playerB, "Supplant Form", 1);
|
||||
assertHandCount(playerA, "Akroma, Angel of Fury", 1);
|
||||
|
||||
assertPermanentCount(playerB, "Akroma, Angel of Fury", 0);
|
||||
assertPermanentCount(playerB, "a creature without name", 1);
|
||||
assertPowerToughness(playerB, "a creature without name", 2, 2);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue