some more text fixes

This commit is contained in:
theelk801 2025-06-14 11:38:00 -04:00
parent 96cc1e40ee
commit d43e96eaf2
18 changed files with 37 additions and 29 deletions

View file

@ -12,6 +12,7 @@ import mage.game.Game;
import mage.game.events.GameEvent;
import mage.game.events.ZoneChangeEvent;
import mage.target.targetpointer.FixedTarget;
import mage.util.CardUtil;
/**
* @author North
@ -52,12 +53,13 @@ public class DiesCreatureTriggeredAbility extends TriggeredAbilityImpl {
public DiesCreatureTriggeredAbility(Zone zone, Effect effect, boolean optional, FilterPermanent filter, boolean setTargetPointer) {
this(zone, effect, optional, filter, (setTargetPointer ? SetTargetPointer.PERMANENT : SetTargetPointer.NONE));
}
public DiesCreatureTriggeredAbility(Zone zone, Effect effect, boolean optional, FilterPermanent filter, SetTargetPointer setTargetPointer) {
super(zone, effect, optional);
this.filter = filter;
this.setTargetPointer = setTargetPointer;
setLeavesTheBattlefieldTrigger(true);
setTriggerPhrase("Whenever " + filter.getMessage() + (filter.getMessage().startsWith("one or more") ? " die, " : " dies, "));
setTriggerPhrase("Whenever " + CardUtil.addArticle(filter.getMessage()) + (filter.getMessage().startsWith("one or more") ? " die, " : " dies, "));
}
protected DiesCreatureTriggeredAbility(final DiesCreatureTriggeredAbility ability) {

View file

@ -16,7 +16,7 @@ public class EntersBattlefieldAttachToTarget extends EntersBattlefieldTriggeredA
}
public EntersBattlefieldAttachToTarget(FilterPermanent filter) {
super(new AttachEffect(Outcome.BoostCreature, "attach it to target " + filter.getMessage()));
super(new AttachEffect(Outcome.BoostCreature, "attach {this} to target " + filter.getMessage()));
this.addTarget(new TargetPermanent(filter));
}

View file

@ -29,7 +29,7 @@ public class CreateTokenCopySourceEffect extends OneShotEffect {
this.number = copies;
this.tapped = tapped;
staticText = "create " + CardUtil.numberToText(copies, "a") + " " + (tapped ? "tapped " : "")
+ (copies > 1 ? "tokens that are" : "token that's") + " a copy of {this}";
+ (copies > 1 ? "tokens that are copies of " : "token that's a copy of ") + "{this}";
}
protected CreateTokenCopySourceEffect(final CreateTokenCopySourceEffect effect) {

View file

@ -34,7 +34,7 @@ public class GainAbilityControllerEffect extends ContinuousEffectImpl {
public GainAbilityControllerEffect(Ability ability, Duration duration) {
super(duration, Layer.PlayerEffects, SubLayer.NA, Outcome.AddAbility);
this.ability = ability;
staticText = "you " + (duration == Duration.WhileOnBattlefield ? "have" : "gain") + ability.getRule();
staticText = "you " + (duration == Duration.WhileOnBattlefield ? "have" : "gain") + ' ' + ability.getRule();
if (!duration.toString().isEmpty()) {
staticText += ' ' + duration.toString();
}