mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
fix Minion of the Wastes multiple replacement (related to f252525c)
This commit is contained in:
parent
8b1b04cd7c
commit
a6b3a20aeb
5 changed files with 26 additions and 0 deletions
|
|
@ -32,4 +32,26 @@ public class MinionOfTheWastesTest extends CardTestPlayerBase {
|
|||
assertPowerToughness(playerA, minion, 3, 3);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFlicker() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Scrubland", 7);
|
||||
addCard(Zone.HAND, playerA, minion);
|
||||
addCard(Zone.HAND, playerA, "Cloudshift"); // flicker
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, minion);
|
||||
setChoice(playerA, "X=3");
|
||||
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Cloudshift", minion);
|
||||
setChoice(playerA, "X=2");
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(2, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertLife(playerA, 15);
|
||||
assertPowerToughness(playerA, minion, 2, 2);
|
||||
}
|
||||
|
||||
// Note similar cards: Wood Elemental, Nameless Race, Dracoplasm
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue