[STA] text fixes

This commit is contained in:
Evan Kranzler 2021-04-17 16:34:21 -04:00
parent 21b3c11781
commit cb0df438dd
16 changed files with 51 additions and 47 deletions

View file

@ -54,7 +54,11 @@ public class Effects extends ArrayList<Effect> {
String concatPrefix = effect.getConcatPrefix();
if (effectNum > 1 && !concatPrefix.isEmpty() && !concatPrefix.equals(".")) {
nextRule = concatPrefix + " " + nextRule;
if (concatPrefix.contains("<br>")) {
nextRule = concatPrefix + CardUtil.getTextWithFirstCharUpperCase(nextRule);
} else {
nextRule = concatPrefix + " " + nextRule;
}
}

View file

@ -99,10 +99,10 @@ public class SearchLibraryPutInHandEffect extends SearchEffect {
sb.append(target.getTargetName());
if (forceShuffle) {
sb.append(revealCards ? ", reveal them" : "");
sb.append(", put them into your hand, then shuffle your library");
sb.append(", put them into your hand, then shuffle");
} else {
sb.append(revealCards ? ", reveal them," : "");
sb.append(" and put them into your hand. If you do, shuffle your library");
sb.append(" and put them into your hand. If you do, shuffle");
}
} else {
if (!target.getTargetName().startsWith("a ") && !target.getTargetName().startsWith("an ")) {
@ -110,11 +110,11 @@ public class SearchLibraryPutInHandEffect extends SearchEffect {
}
sb.append(target.getTargetName());
if (forceShuffle) {
sb.append(revealCards ? ", reveal it" : "");
sb.append(", put it into your hand, then shuffle your library");
sb.append(revealCards ? ", reveal it, put it" : ", put that card");
sb.append(" into your hand, then shuffle");
} else {
sb.append(revealCards ? ", reveal it," : "");
sb.append(" and put that card into your hand. If you do, shuffle your library");
sb.append(" and put that card into your hand. If you do, shuffle");
}
}
staticText = sb.toString();

View file

@ -97,9 +97,9 @@ public class SearchLibraryPutInPlayEffect extends SearchEffect {
sb.append(" tapped");
}
if (forceShuffle) {
sb.append(", then shuffle your library");
sb.append(", then shuffle");
} else {
sb.append(". If you do, shuffle your library");
sb.append(". If you do, shuffle");
}
staticText = sb.toString();
}