mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Fix Ethereal Valkyrie test randomly failing (caused by AI the incorrectly tapping mana)
This commit is contained in:
parent
08b94e74e0
commit
8bdd8b2bed
1 changed files with 5 additions and 8 deletions
|
@ -148,25 +148,22 @@ public class EtherealValkyrieTest extends CardTestPlayerBase {
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testMDFCCreatureCreature() {
|
public void testMDFCCreatureCreature() {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Plains", 2);
|
addCard(Zone.BATTLEFIELD, playerA, "Tundra", 12);
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Island", 2);
|
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Island", 8);
|
|
||||||
addCard(Zone.HAND, playerA, etherealValkyrie, 2);
|
addCard(Zone.HAND, playerA, etherealValkyrie, 2);
|
||||||
|
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Island", 3);
|
addCard(Zone.BATTLEFIELD, playerA, "Island", 5);
|
||||||
addCard(Zone.HAND, playerA, alrund);
|
addCard(Zone.HAND, playerA, alrund);
|
||||||
|
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3);
|
addCard(Zone.BATTLEFIELD, playerA, "Island", 2);
|
||||||
addCard(Zone.HAND, playerA, alrund);
|
addCard(Zone.HAND, playerA, alrund);
|
||||||
|
|
||||||
setStrictChooseMode(true);
|
setStrictChooseMode(true);
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, etherealValkyrie);
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, etherealValkyrie);
|
||||||
addTarget(playerA, alrund);
|
addTarget(playerA, alrund);
|
||||||
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);
|
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, etherealValkyrie);
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, etherealValkyrie);
|
|
||||||
addTarget(playerA, alrund);
|
addTarget(playerA, alrund);
|
||||||
|
|
||||||
setStopAt(1, PhaseStep.PRECOMBAT_MAIN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
assertExileCount(playerA, alrund, 2);
|
assertExileCount(playerA, alrund, 2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue