improve text generation

This commit is contained in:
xenohedron 2023-10-15 23:43:10 -04:00
parent 793d39890b
commit b3bc6b94aa
3 changed files with 3 additions and 3 deletions

View file

@ -221,7 +221,7 @@ public abstract class TriggeredAbilityImpl extends AbilityImpl implements Trigge
}
}
if (replaceRuleText && triggerPhrase != null) {
superRule = superRule.replaceFirst("^(you may sacrifice |sacrifice )?\\{this\\}", "$1it");
superRule = superRule.replaceFirst("^((?:you may )?sacrifice |put a [^ ]+ counter on )?\\{this\\}", "$1it");
}
sb.append(superRule);
if (triggersOnceEachTurn) {