mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
GUI: introduced default card hints:
* refactor: added helper emblems instead rad counter's inherent emblems (use initGameDefaultHelperEmblems to define new card hints or other fake objects); * refactor: added card hints support for emblems, planes and other command objects; * GUI: added storm counter as default card hint (use hints tool to see it, closes #12360);
This commit is contained in:
parent
83823acec7
commit
521a0f6e32
36 changed files with 234 additions and 144 deletions
|
|
@ -156,9 +156,7 @@ public class TappedForManaFromMultipleEffects extends CardTestPlayerBase {
|
|||
|
||||
activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}, Sacrifice a Fo");
|
||||
setChoice(playerA, "Forest"); // sacrifice
|
||||
setChoice(playerA, "Green");
|
||||
setChoice(playerA, "Green");
|
||||
setChoice(playerA, "Green");
|
||||
setChoiceAmount(playerA, 0, 3); // x0 red, x3 green
|
||||
checkManaPool("must produce green", 1, PhaseStep.PRECOMBAT_MAIN, playerA, "G", 3);
|
||||
|
||||
setStrictChooseMode(true);
|
||||
|
|
@ -177,9 +175,7 @@ public class TappedForManaFromMultipleEffects extends CardTestPlayerBase {
|
|||
|
||||
activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}, Sacrifice a Fo");
|
||||
setChoice(playerA, "Forest"); // sacrifice
|
||||
setChoice(playerA, "Green");
|
||||
setChoice(playerA, "Green");
|
||||
setChoice(playerA, "Green");
|
||||
setChoiceAmount(playerA, 0, 3); // x0 red, x3 green
|
||||
checkManaPool("must produce green", 1, PhaseStep.PRECOMBAT_MAIN, playerA, "G", 3 * 2); // double by mana reflect
|
||||
|
||||
setStrictChooseMode(true);
|
||||
|
|
|
|||
|
|
@ -2892,7 +2892,7 @@ public class TestPlayer implements Player {
|
|||
break;
|
||||
}
|
||||
}
|
||||
Assert.fail(String.format("Missing choice in multi amount: %s (pos %d - %s)", type.getHeader(), i + 1, messages.get(i)));
|
||||
Assert.fail(String.format("Missing choice in multi amount: %s (pos %d - %s)", type.getHeader(), i, messages));
|
||||
}
|
||||
|
||||
// extra check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue