* Fixed spelling of test command.

This commit is contained in:
LevelX2 2020-06-21 11:50:32 +02:00
parent 3d2c452e3f
commit ce0a941156
12 changed files with 16 additions and 16 deletions

View file

@ -25,11 +25,11 @@ public class ExileTargetTest extends CardTestCommander4Players {
addCard(Zone.BATTLEFIELD, playerC, "Balduvian Bears", 1); // 2/2
// must select opponent's Balduvian Bears
// showAvaileableAbilities("before", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvailableAbilities("before", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Oblivion Ring");
//addTarget(playerA, "Balduvian Bears"); // disable to activate AI target choose
// showAvaileableAbilities("after", 1, PhaseStep.BEGIN_COMBAT, playerA);
// showAvailableAbilities("after", 1, PhaseStep.BEGIN_COMBAT, playerA);
//setStrictChooseMode(true); // disable strict mode to activate AI for choosing
setStopAt(1, PhaseStep.END_COMBAT);
execute();

View file

@ -75,7 +75,7 @@ public class KickerWithFlashbackTest extends CardTestPlayerBase {
addTarget(playerA, "Burst Lightning");
// cast burst by flashback
// showAvaileableAbilities("after", 1, PhaseStep.BEGIN_COMBAT, playerA);
// showAvailableAbilities("after", 1, PhaseStep.BEGIN_COMBAT, playerA);
activateAbility(1, PhaseStep.BEGIN_COMBAT, playerA, "Flashback");
setChoice(playerA, "Yes"); // use kicker
addTarget(playerA, playerB);

View file

@ -22,7 +22,7 @@ public class PraetorsGraspTest extends CardTestPlayerBase {
addTarget(playerA, playerB);
addTarget(playerA, "Mountain");
// showAvaileableAbilities("after", 1, PhaseStep.POSTCOMBAT_MAIN, playerA);
// showAvailableAbilities("after", 1, PhaseStep.POSTCOMBAT_MAIN, playerA);
setStrictChooseMode(true);
setStopAt(1, PhaseStep.END_TURN);
execute();

View file

@ -229,7 +229,7 @@ public class SparkDoubleTest extends CardTestPlayerBase {
// make copy of copy by CreateTokenCopyTargetEffect
// showBattlefield("before last copy", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvaileableAbilities("before last copy", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvailableAbilities("before last copy", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "create a token that");
addTarget(playerA, "Akroma, Angel of Wrath[only copy]");
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN, playerA);

View file

@ -525,7 +525,7 @@ public class AdventureCardsTest extends CardTestPlayerBase {
addCounters(1, PhaseStep.UPKEEP, playerA, "Wrenn and Six", CounterType.LOYALTY, 5);
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "-7: You get an emblem");
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvaileableAbilities("abils", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvailableAbilities("abils", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// retrace - You may cast this card from your graveyard by discarding a land card as an additional cost to cast it
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Treats to Share");
@ -562,7 +562,7 @@ public class AdventureCardsTest extends CardTestPlayerBase {
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "+1: Until your next");
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvaileableAbilities("abils", 1, PhaseStep.BEGIN_COMBAT, playerA);
// showAvailableAbilities("abils", 1, PhaseStep.BEGIN_COMBAT, playerA);
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Treats to Share");
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);

View file

@ -202,7 +202,7 @@ public class OathOfLiegesTest extends CardTestPlayerBase {
// cast oath copy by opponent
// showBattlefield("A perms", 2, PhaseStep.POSTCOMBAT_MAIN, playerA);
// showBattlefield("B perms", 2, PhaseStep.POSTCOMBAT_MAIN, playerB);
// showAvaileableAbilities("B abils", 2, PhaseStep.POSTCOMBAT_MAIN, playerB);
// showAvailableAbilities("B abils", 2, PhaseStep.POSTCOMBAT_MAIN, playerB);
// showHand("B hand", 2, PhaseStep.POSTCOMBAT_MAIN, playerB);
castSpell(2, PhaseStep.POSTCOMBAT_MAIN, playerB, "Copy Enchantment");
setChoice(playerB, "Yes"); // use copy effect

View file

@ -351,7 +351,7 @@ public class ConditionalManaTest extends CardTestPlayerBase {
// computer must see available mana (4 red mana instead 2)
//activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Add {R}");
//activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Add {R}");
showAvaileableAbilities("abils", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
showAvailableAbilities("abils", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Precision Bolt", playerB);
setStrictChooseMode(true);

View file

@ -241,7 +241,7 @@ public class ManaPoolTest extends CardTestPlayerBase {
checkManaPool("mana", 1, PhaseStep.PRECOMBAT_MAIN, playerA, "R", 4);
// use for ability
// showAvaileableAbilities("before ability", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvailableAbilities("before ability", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{X}:", playerB);
setChoice(playerA, "X=3");
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);

View file

@ -80,7 +80,7 @@ public class CastSplitCardsWithFuseTest extends CardTestPlayerBase {
addCard(Zone.BATTLEFIELD, playerB, "Absolute Grace"); // Enchantment
addCard(Zone.BATTLEFIELD, playerB, "Juggernaut"); // Artifact
// showAvaileableAbilities("abils", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvailableAbilities("abils", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "fused Wear // Tear");
addTarget(playerA, "Juggernaut");
addTarget(playerA, "Absolute Grace");

View file

@ -29,7 +29,7 @@ public class OpalPalaceTest extends CardTestCommanderDuelBase {
// showHand("hand", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showCommand("command", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvaileableAbilities("abi", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
// showAvailableAbilities("abi", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Add {G}");
activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{1}, {T}");
setChoice(playerA, "Opal Palace"); // activate mana replace effect first (+3 counters)

View file

@ -458,11 +458,11 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement
show(showName, turnNum, step, player, SHOW_COMMAND_EXILE);
}
public void showAvaileableAbilities(String showName, int turnNum, PhaseStep step, TestPlayer player) {
public void showAvailableAbilities(String showName, int turnNum, PhaseStep step, TestPlayer player) {
show(showName, turnNum, step, player, SHOW_COMMAND_AVAILABLE_ABILITIES);
}
public void showAvaileableMana(String showName, int turnNum, PhaseStep step, TestPlayer player) {
public void showAvailableMana(String showName, int turnNum, PhaseStep step, TestPlayer player) {
show(showName, turnNum, step, player, SHOW_COMMAND_AVAILABLE_MANA);
}

View file

@ -190,7 +190,7 @@ public class TestAliases extends CardTestPlayerBase {
addCard(Zone.BATTLEFIELD, playerA, "Embermage Goblin", 2);
addCard(Zone.BATTLEFIELD, playerA, "Silvercoat Lion", 1);
showAvaileableAbilities("before", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
showAvailableAbilities("before", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: {source} deals", "Silvercoat Lion");
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: {source} deals", "Silvercoat Lion");
@ -208,7 +208,7 @@ public class TestAliases extends CardTestPlayerBase {
addCard(Zone.BATTLEFIELD, playerA, "Embermage Goblin@goblin", 2);
addCard(Zone.BATTLEFIELD, playerA, "Silvercoat Lion@lion", 1);
showAvaileableAbilities("before", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
showAvailableAbilities("before", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: {source} deals", "@lion");
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: {source} deals", "@lion");