general text gen fixes

This commit is contained in:
xenohedron 2025-09-13 19:05:56 -04:00
parent 9a6504c1fa
commit 18a050fb70
2 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ public class EntersBattlefieldAbility extends StaticAbility {
@Override @Override
public String getRule() { public String getRule() {
if (abilityRule != null && !abilityRule.isEmpty()) { if (abilityRule != null && !abilityRule.isEmpty()) {
return abilityRule; return addRulePrefix(abilityRule);
} }
String superRule = super.getRule(); String superRule = super.getRule();
String rule = (optional ? "you may have " : "") + "{this} enter" + (optional ? "" : "s") String rule = (optional ? "you may have " : "") + "{this} enter" + (optional ? "" : "s")

View file

@ -59,9 +59,9 @@ public class PayMoreToCastAsThoughtItHadFlashAbility extends SpellAbility {
return rule; return rule;
} }
if (costsToAdd instanceof ManaCosts) { if (costsToAdd instanceof ManaCosts) {
return "You may cast {this} as though it had flash if you pay " + costsToAdd.getText() + " more to cast it. <i>(You may cast it any time you could cast an instant.)</i>"; return "You may cast this spell as though it had flash if you pay " + costsToAdd.getText() + " more to cast it. <i>(You may cast it any time you could cast an instant.)</i>";
} else { } else {
return "You may cast {this} as though it had flash by " + costsToAdd.getText() + " in addition to paying its other costs."; return "You may cast this spell as though it had flash by " + costsToAdd.getText() + " in addition to paying its other costs.";
} }
} }