mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
add strict choose mode to other recent tests
This commit is contained in:
parent
ec4c2e2170
commit
f623e45d4b
2 changed files with 18 additions and 6 deletions
|
@ -23,10 +23,11 @@ public class OathkeeperTakenosDaishoTest extends CardTestPlayerBase {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, samurai, 1);
|
addCard(Zone.BATTLEFIELD, playerA, samurai, 1);
|
||||||
addCard(Zone.HAND, playerA, removeEquipped, 1);
|
addCard(Zone.HAND, playerA, removeEquipped, 1);
|
||||||
|
|
||||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Equip");
|
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Equip", samurai);
|
||||||
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);
|
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, removeEquipped);
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, removeEquipped, samurai);
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||||
execute();
|
execute();
|
||||||
|
|
||||||
|
@ -43,10 +44,11 @@ public class OathkeeperTakenosDaishoTest extends CardTestPlayerBase {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Elite Vanguard", 1);
|
addCard(Zone.BATTLEFIELD, playerA, "Elite Vanguard", 1);
|
||||||
addCard(Zone.HAND, playerA, removeEquipped, 1);
|
addCard(Zone.HAND, playerA, removeEquipped, 1);
|
||||||
|
|
||||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Equip");
|
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Equip", "Elite Vanguard");
|
||||||
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);
|
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, removeEquipped);
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, removeEquipped, "Elite Vanguard");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||||
execute();
|
execute();
|
||||||
|
|
||||||
|
@ -63,10 +65,11 @@ public class OathkeeperTakenosDaishoTest extends CardTestPlayerBase {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, samurai, 1);
|
addCard(Zone.BATTLEFIELD, playerA, samurai, 1);
|
||||||
addCard(Zone.HAND, playerA, removeEquipment, 1);
|
addCard(Zone.HAND, playerA, removeEquipment, 1);
|
||||||
|
|
||||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Equip");
|
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Equip", samurai);
|
||||||
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);
|
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, removeEquipment);
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, removeEquipment, equipment);
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||||
execute();
|
execute();
|
||||||
|
|
||||||
|
|
|
@ -92,6 +92,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Wind Zendikon", "Mountain");
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Wind Zendikon", "Mountain");
|
||||||
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Mountain");
|
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Mountain");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
// ZCC is 2 for perm, 3 for card
|
// ZCC is 2 for perm, 3 for card
|
||||||
|
@ -115,6 +116,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Wind Zendikon", "Tangled Vale");
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Wind Zendikon", "Tangled Vale");
|
||||||
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Tangled Vale");
|
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Tangled Vale");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
// ZCC is 2 for perm, 1 for card (?!)
|
// ZCC is 2 for perm, 1 for card (?!)
|
||||||
|
@ -138,6 +140,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Wind Zendikon", "Riverglide Pathway");
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Wind Zendikon", "Riverglide Pathway");
|
||||||
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Riverglide Pathway");
|
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Riverglide Pathway");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
// ZCC is 2 for perm, 1 for card (?!)
|
// ZCC is 2 for perm, 1 for card (?!)
|
||||||
|
@ -161,6 +164,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Wind Zendikon", "Lavaglide Pathway");
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Wind Zendikon", "Lavaglide Pathway");
|
||||||
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Lavaglide Pathway");
|
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Lavaglide Pathway");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
// ZCC is 2 for perm, 1 for card (?!)
|
// ZCC is 2 for perm, 1 for card (?!)
|
||||||
|
@ -184,6 +188,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Demonic Vigor", "Dryad Sophisticate");
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Demonic Vigor", "Dryad Sophisticate");
|
||||||
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Dryad Sophisticate");
|
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Dryad Sophisticate");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
// ZCC is 3 for perm, 4 for card
|
// ZCC is 3 for perm, 4 for card
|
||||||
|
@ -207,6 +212,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Demonic Vigor", "Tangled Florahedron");
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Demonic Vigor", "Tangled Florahedron");
|
||||||
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Tangled Florahedron");
|
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Disfigure", "Tangled Florahedron");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
// ZCC is 3 for perm, 2 for card (?!)
|
// ZCC is 3 for perm, 2 for card (?!)
|
||||||
|
@ -236,6 +242,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
|
||||||
waitStackResolved(1, PhaseStep.POSTCOMBAT_MAIN);
|
waitStackResolved(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Disfigure", "Dryad Sophisticate");
|
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Disfigure", "Dryad Sophisticate");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
// ZCC is 7 for perm, 8 for card
|
// ZCC is 7 for perm, 8 for card
|
||||||
|
@ -265,6 +272,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
|
||||||
waitStackResolved(1, PhaseStep.POSTCOMBAT_MAIN);
|
waitStackResolved(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Disfigure", "Tangled Florahedron");
|
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Disfigure", "Tangled Florahedron");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
// ZCC is 7 for perm, 4 for card (?!)
|
// ZCC is 7 for perm, 4 for card (?!)
|
||||||
|
@ -295,6 +303,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
|
||||||
waitStackResolved(1, PhaseStep.BEGIN_COMBAT, 1);
|
waitStackResolved(1, PhaseStep.BEGIN_COMBAT, 1);
|
||||||
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Coat with Venom", "Carrion Feeder");
|
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Coat with Venom", "Carrion Feeder");
|
||||||
|
|
||||||
|
setStrictChooseMode(true);
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
// ZCC is 3 for perm, 6 for card, so should not return
|
// ZCC is 3 for perm, 6 for card, so should not return
|
||||||
|
|
Loading…
Reference in a new issue