mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
a couple text fixes
This commit is contained in:
parent
78e1ef6271
commit
c07837f743
5 changed files with 6 additions and 5 deletions
|
|
@ -333,7 +333,7 @@ public abstract class TriggeredAbilityImpl extends AbilityImpl implements Trigge
|
|||
}
|
||||
}
|
||||
if (replaceRuleText && triggerPhrase != null) {
|
||||
superRule = superRule.replaceFirst("^((?:you may )?sacrifice |(put|remove) [^ ]+ [^ ]+ counters? (on|from) |return |transform |untap |regenerate )?\\{this\\}", "$1it");
|
||||
superRule = superRule.replaceFirst("^((?:you may )?sacrifice |(put|remove) [^ ]+ [^ ]+ counters? (on|from) |return |transform |untap |regenerate |attach )?\\{this\\}", "$1it");
|
||||
}
|
||||
sb.append(superRule);
|
||||
if (triggerLimitEachTurn != Integer.MAX_VALUE) {
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ public class EntersBattlefieldAttachToTarget extends EntersBattlefieldTriggeredA
|
|||
|
||||
public EntersBattlefieldAttachToTarget(FilterPermanent filter) {
|
||||
super(new AttachEffect(Outcome.BoostCreature, "attach {this} to target " + filter.getMessage()));
|
||||
this.withRuleTextReplacement(true); // default "it" but a few exceptions
|
||||
this.addTarget(new TargetPermanent(filter));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue