text fixes

This commit is contained in:
xenohedron 2024-05-21 01:05:35 -04:00
parent abd0e4ca8f
commit 88b6f4036f
4 changed files with 8 additions and 6 deletions

View file

@ -36,7 +36,7 @@ public final class DontMove extends CardImpl {
this.getSpellAbility().addEffect(new CreateDelayedTriggeredAbilityEffect(
new UntilYourNextTurnDelayedTriggeredAbility(
new BecomesTappedTriggeredAbility(
new DestroyTargetEffect(), false,
new DestroyTargetEffect().setText("destroy it"), false,
StaticFilters.FILTER_PERMANENT_CREATURE, true
)
)
@ -54,4 +54,4 @@ public final class DontMove extends CardImpl {
public DontMove copy() {
return new DontMove(this);
}
}
}

View file

@ -47,7 +47,8 @@ public final class IndominusRexAlpha extends CardImpl {
this.addAbility(new AsEntersBattlefieldAbility(new IndominusRexAlphaCountersEffect()));
// When Indominus Rex enters the battlefield, draw a card for each counter on it.
this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(xValue)));
this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(xValue)
.setText("draw a card for each counter on it")));
}
private IndominusRexAlpha(final IndominusRexAlpha card) {

View file

@ -10,6 +10,7 @@ import mage.game.events.DamagedEvent;
import mage.game.events.GameEvent;
import mage.game.permanent.Permanent;
import mage.target.targetpointer.FixedTarget;
import mage.util.CardUtil;
/**
* @author Susucr
@ -28,8 +29,8 @@ public class DealsDamageToThisAllTriggeredAbility extends TriggeredAbilityImpl {
this.setTargetPointer = setTargetPointer;
this.filterPermanent = filterPermanent;
this.combatOnly = combatOnly;
setTriggerPhrase("Whenever " + filterPermanent.getMessage() + " deals "
+ (combatOnly ? "combat " : "") + "damage to a {this}, ");
setTriggerPhrase("Whenever " + CardUtil.addArticle(filterPermanent.getMessage()) + " deals "
+ (combatOnly ? "combat " : "") + "damage to {this}, ");
}
protected DealsDamageToThisAllTriggeredAbility(final DealsDamageToThisAllTriggeredAbility ability) {

View file

@ -106,7 +106,7 @@ public abstract class TargetImpl implements Target {
if (min > 0 && max == Integer.MAX_VALUE) {
sb.append(CardUtil.numberToText(min));
sb.append(" or more ");
} else if (!getTargetName().startsWith("X") && (min != 1 || max != 1)) {
} else if (!getTargetName().contains("X") && (min != 1 || max != 1)) {
if (min < max && max != Integer.MAX_VALUE) {
if (min == 1 && max == 2) {
sb.append("one or ");