mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
* Void Winnower - Fixed that the check for even casting costs did not work correctly.
This commit is contained in:
parent
d3000da3a3
commit
70bce1c082
3 changed files with 31 additions and 5 deletions
|
|
@ -47,7 +47,7 @@ public class MorphTest extends CardTestPlayerBase {
|
|||
*
|
||||
*/
|
||||
@Test
|
||||
public void testCastMoprhCreatureWithoutMorph() {
|
||||
public void testCastMorphCreatureWithoutMorph() {
|
||||
/*
|
||||
Pine Walker
|
||||
Creature - Elemental
|
||||
|
|
|
|||
|
|
@ -110,4 +110,30 @@ public class CantCastTest extends CardTestPlayerBase {
|
|||
assertLife(playerB, 16);
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testVoidWinnowerWithMorph() {
|
||||
// Your opponent can't cast spells with even converted mana costs. (Zero is even.)
|
||||
// Your opponents can't block with creatures with even converted mana costs.
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Void Winnower");
|
||||
/*
|
||||
Pine Walker
|
||||
Creature - Elemental
|
||||
5/5
|
||||
Morph {4}{G} (You may cast this card face down as a 2/2 creature for . Turn it face up any time for its morph cost.)
|
||||
Whenever Pine Walker or another creature you control is turned face up, untap that creature.
|
||||
*/
|
||||
addCard(Zone.HAND, playerA, "Pine Walker");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Forest", 3);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Pine Walker");
|
||||
setChoice(playerA, "Yes"); // cast it face down as 2/2 creature
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, "", 0);
|
||||
assertHandCount(playerA, "Pine Walker", 1);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue