Fix that Warbringer's cost reduction doesn't apply when checking playable (for real this time)

This commit is contained in:
Alex W. Jackson 2022-04-03 10:19:22 -04:00
parent 081b2f2f39
commit c58eeef77d
3 changed files with 26 additions and 3 deletions

View file

@ -117,4 +117,20 @@ public class DashTest extends CardTestPlayerBase {
assertHandCount(playerA, "Screamreach Brawler", 0);
assertAbility(playerA, "Screamreach Brawler", HasteAbility.getInstance(), true);
}
@Test
public void testWarbringerCostReduction() {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
addCard(Zone.BATTLEFIELD, playerA, "Warbringer");
addCard(Zone.HAND, playerA, "Warbringer");
setStrictChooseMode(true);
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Warbringer");
setChoice(playerA, true);
setStopAt(1, PhaseStep.BEGIN_COMBAT);
execute();
assertPermanentCount(playerA, "Warbringer", 2);
assertHandCount(playerA, "Warbringer", 0);
}
}