forked from External/mage
improve text generation
This commit is contained in:
parent
793d39890b
commit
b3bc6b94aa
3 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue