mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
[MKM] Implement Fugitive Codebreaker
This commit is contained in:
parent
acf5f47fe7
commit
1ff8cf01cf
5 changed files with 153 additions and 4 deletions
|
|
@ -197,4 +197,27 @@ public class DisguiseTest extends CardTestPlayerBase {
|
|||
assertLife(playerA, 20);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCostAdjuster() {
|
||||
/* Fugitive Codebreaker {1}{R}
|
||||
* Creature — Goblin Rogue
|
||||
* Prowess, haste
|
||||
* Disguise {5}{R}. This cost is reduced by {1} for each instant and sorcery card in your graveyard.
|
||||
* When Fugitive Codebreaker is turned face up, discard your hand, then draw three cards.
|
||||
*/
|
||||
String codebreaker = "Fugitive Codebreaker";
|
||||
addCard(Zone.HAND, playerA, codebreaker);
|
||||
addCard(Zone.GRAVEYARD, playerA, "Lightning Bolt", 3);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3 + 3);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, codebreaker + " using Disguise", true);
|
||||
activateAbility(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "{5}{R}:");
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertHandCount(playerA, 3);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue