mirror of
https://github.com/correl/mage.git
synced 2025-04-13 09:11:06 -09:00
updated Gisela, Blade of Goldnight test to check Banefire interaction
This commit is contained in:
parent
22971b63fa
commit
23f74c77ce
1 changed files with 30 additions and 0 deletions
|
@ -47,4 +47,34 @@ public class GiselaBladeOfGoldnightTest extends CardTestPlayerBase {
|
|||
assertPermanentCount(playerB, "Air Elemental", 0);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testUnpreventableDamageToPlayer() {
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Mountain", 6);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Gisela, Blade of Goldnight");
|
||||
addCard(Zone.HAND, playerB, "Banefire");
|
||||
|
||||
castSpell(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Banefire", playerA);
|
||||
setChoice(playerB, "X=5");
|
||||
|
||||
execute();
|
||||
|
||||
// Player A should take the full 5 damage
|
||||
assertLife(playerA, 15);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testUnpreventableDamageToCreature() {
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Mountain", 7);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Gisela, Blade of Goldnight");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Colossal Dreadmaw");
|
||||
addCard(Zone.HAND, playerB, "Banefire");
|
||||
|
||||
castSpell(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Banefire", "Colossal Dreadmaw");
|
||||
setChoice(playerB, "X=6");
|
||||
|
||||
execute();
|
||||
|
||||
// Dreadmaw should be dead
|
||||
assertPermanentCount(playerA, "Colossal Dreadmaw", 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue