mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
* Fixed that Suspend was handled as activated ability for increase/decrease of mana activation costs.
This commit is contained in:
parent
608cab21a9
commit
f44987aa37
4 changed files with 30 additions and 4 deletions
|
|
@ -163,4 +163,26 @@ public class SuspendTest extends CardTestPlayerBase {
|
|||
assertHandCount(playerA, "Ancestral Vision", 1);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Suppression Field incorrectly makes suspend cards cost 2 more to suspend.
|
||||
* It made my Rift Bolt cost 2R to suspend instead of R
|
||||
*
|
||||
*/
|
||||
@Test
|
||||
public void testCostManipulation() {
|
||||
// Rift Bolt deals 3 damage to target creature or player.
|
||||
// Suspend 1-{R}
|
||||
addCard(Zone.HAND, playerA, "Rift Bolt", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Suppression Field", 1);
|
||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Suspend");
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertHandCount(playerA, "Rift Bolt", 0);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -251,7 +251,8 @@ public class UndyingTest extends CardTestPlayerBase {
|
|||
// Sacrifice a creature: Add {C}{C} to your mana pool.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Ashnod's Altar", 1);
|
||||
// Whenever a Human deals damage to you, destroy it.
|
||||
// Other non-Human creatures you control get +1/+1 and have undying.
|
||||
// Other non-Human creatures you control get +1/+1 and have undying
|
||||
// (When this creature dies, if it had no +1/+1 counters on it, return it to the battlefield under its owner's control with a +1/+1 counter on it.).
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mikaeus, the Unhallowed", 1);
|
||||
|
||||
// Flying
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue