mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
* Fixed that spells without mana costs but suspend could be cast with no mana (e.g. Ancestral Vision).
This commit is contained in:
parent
511fb37838
commit
4629366ae7
2 changed files with 35 additions and 1 deletions
|
|
@ -147,4 +147,20 @@ public class SuspendTest extends CardTestPlayerBase {
|
|||
assertCounterOnExiledCardCount("Deep-Sea Kraken", CounterType.TIME, 8); // -1 from spell of player B
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAncestralVisionCantBeCastDirectly() {
|
||||
// Suspend 4-{U}
|
||||
// Target player draws three cards.
|
||||
addCard(Zone.HAND, playerA, "Ancestral Vision", 1);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Ancestral Vision", playerA);
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertHandCount(playerA, 1);
|
||||
assertHandCount(playerA, "Ancestral Vision", 1);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue