fix Minion of the Wastes multiple replacement (related to f252525c)

This commit is contained in:
xenohedron 2025-03-16 00:16:49 -04:00
parent 8b1b04cd7c
commit a6b3a20aeb
5 changed files with 26 additions and 0 deletions

View file

@ -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
}