[FIN] various text fixes

This commit is contained in:
theelk801 2025-05-30 21:27:14 -04:00
parent bf487046e1
commit 9ef2aac469
54 changed files with 222 additions and 141 deletions

View file

@ -294,16 +294,6 @@ public abstract class TriggeredAbilityImpl extends AbilityImpl implements Trigge
@Override
public String getRule() {
StringBuilder sb = new StringBuilder();
String prefix;
if (abilityWord != null) {
prefix = abilityWord.formatWord();
} else if (flavorWord != null) {
prefix = CardUtil.italicizeWithEmDash(flavorWord);
} else {
prefix = "";
}
sb.append(prefix);
sb.append(triggerPhrase == null ? "" : triggerPhrase);
if (interveningIfCondition != null) {
@ -376,7 +366,7 @@ public abstract class TriggeredAbilityImpl extends AbilityImpl implements Trigge
sb.append(" Do this only once each turn.");
}
}
return sb.toString();
return addRulePrefix(sb.toString());
}
private static boolean startsWithVerb(String ruleLow) {