mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
* Banefire - Fixed Banefire's switched condition check.
This commit is contained in:
parent
48ba1c585a
commit
6a0988ef66
2 changed files with 27 additions and 3 deletions
|
|
@ -64,4 +64,30 @@ public class SwansOfBrynArgollTest extends CardTestPlayerBase{
|
|||
assertHandCount(playerA, 0);
|
||||
|
||||
}
|
||||
/**
|
||||
* Since you can't prevent damage that Combust deals, it should be able to kill Swans of Bryn Argoll.
|
||||
*/
|
||||
@Test
|
||||
public void testAgainstBanefire() {
|
||||
// 4/3 Flying
|
||||
// If a source would deal damage to Swans of Bryn Argoll, prevent that damage. The source's controller draws cards equal to the damage prevented this way.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Swans of Bryn Argoll");
|
||||
|
||||
// Banefire deals X damage to target creature or player.
|
||||
// If X is 5 or more, Banefire can't be countered by spells or abilities and the damage can't be prevented.
|
||||
addCard(Zone.HAND, playerB, "Banefire", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Mountain", 8);
|
||||
|
||||
castSpell(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Banefire", "Swans of Bryn Argoll");
|
||||
setChoice(playerB, "X=7");
|
||||
|
||||
setStopAt(2, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerB, "Banefire", 1);
|
||||
assertPermanentCount(playerA, "Swans of Bryn Argoll", 0);
|
||||
assertGraveyardCount(playerA, "Swans of Bryn Argoll", 1);
|
||||
assertHandCount(playerA, 0);
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue