Slightly better message for cards in prompt area

This commit is contained in:
pfps
2017-01-22 20:28:08 +00:00
parent 4965b6be5e
commit 58ad693300
2 changed files with 4 additions and 6 deletions

View File

@@ -52,11 +52,9 @@ public final class InputSelectTargets extends InputSyncronizedBase {
final StringBuilder sb = new StringBuilder(); final StringBuilder sb = new StringBuilder();
if (FModel.getPreferences().getPrefBoolean(ForgePreferences.FPref.UI_DETAILED_SPELLDESC_IN_PROMPT)) { if (FModel.getPreferences().getPrefBoolean(ForgePreferences.FPref.UI_DETAILED_SPELLDESC_IN_PROMPT)) {
// sb.append(sa.getStackDescription().replace("(Targeting ERROR)", "")).append("\n").append(tgt.getVTSelection()); // sb.append(sa.getStackDescription().replace("(Targeting ERROR)", "")).append("\n").append(tgt.getVTSelection());
if (sa.isAbility()) {
sb.append(sa.getHostCard()).append(" - ");
}
// Apparently <b>...</b> tags do not work in mobile Forge, so don't include them (for now) // Apparently <b>...</b> tags do not work in mobile Forge, so don't include them (for now)
sb.append(sa.toString().replace("(Targeting ERROR)", "")).append("\n\n").append(tgt.getVTSelection()); sb.append(sa.getHostCard().toString()).append(" - ");
sb.append(sa.toString()).append("\n\n").append(tgt.getVTSelection());
} else { } else {
sb.append(sa.getHostCard()).append(" - ").append(tgt.getVTSelection()); sb.append(sa.getHostCard()).append(" - ").append(tgt.getVTSelection());
} }

View File

@@ -659,7 +659,7 @@ public class PlayerControllerHuman
tempShowCard(c); tempShowCard(c);
// final boolean result = getGui().confirm(view, String.format("Put %s on the top or bottom of your library?", view), ImmutableList.of("Top", "Bottom")); // final boolean result = getGui().confirm(view, String.format("Put %s on the top or bottom of your library?", view), ImmutableList.of("Top", "Bottom"));
final InputConfirm inp = new InputConfirm(this, String.format("Put %s on the top or bottom of your library?", view), "Top", "Bottom", true, view); final InputConfirm inp = new InputConfirm(this, String.format("Put %s on the top or bottom of your library?", view), "Top", "Bottom", true);
inp.showAndWait(); inp.showAndWait();
final boolean result = inp.getResult(); final boolean result = inp.getResult();
endTempShowCards(); endTempShowCards();