mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Fix that Warbringer's cost reduction doesn't apply when checking playable (for real this time)
This commit is contained in:
parent
081b2f2f39
commit
c58eeef77d
3 changed files with 26 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue