fix some card text

This commit is contained in:
xenohedron 2025-09-13 18:55:14 -04:00
parent 10a8059eae
commit 9a6504c1fa
25 changed files with 34 additions and 37 deletions

View file

@ -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 |attach )?\\{this\\}", "$1it");
superRule = superRule.replaceFirst("^((?:you may )?sacrifice |(put|remove) [^ ]+ [^ ]+ counters? (on|from) |return |transform |untap |regenerate |attach |exile )?\\{this\\}", "$1it");
}
sb.append(superRule);
if (triggerLimitEachTurn != Integer.MAX_VALUE) {

View file

@ -30,7 +30,7 @@ public class WhileSearchingPlayFromLibraryAbility extends StaticAbility implemen
@Override
public String getRule() {
return "While you're searching your library, you may cast {this} from your library.";
return "While you're searching your library, you may cast this card from your library.";
}
@Override

View file

@ -10,7 +10,7 @@ import mage.filter.StaticFilters;
public class CopyNextSpellDelayedTriggeredAbility extends CastNextSpellDelayedTriggeredAbility {
public CopyNextSpellDelayedTriggeredAbility() {
this(StaticFilters.FILTER_SPELL_INSTANT_OR_SORCERY);
this(StaticFilters.FILTER_SPELL_AN_INSTANT_OR_SORCERY);
}
public CopyNextSpellDelayedTriggeredAbility(FilterSpell filter) {

View file

@ -13,7 +13,7 @@ public class CanBlockAsThoughtItHadShadowEffect extends AsThoughEffectImpl {
public CanBlockAsThoughtItHadShadowEffect(Duration duration) {
super(AsThoughEffectType.BLOCK_SHADOW, duration, Outcome.Benefit);
staticText = "{this} can block creatures with shadow as though {this} had shadow";
staticText = "{this} can block creatures with shadow as though it had shadow";
}
protected CanBlockAsThoughtItHadShadowEffect(final CanBlockAsThoughtItHadShadowEffect effect) {

View file

@ -29,8 +29,7 @@ public class BoostSourceWhileControlsEffect extends WhileConditionContinuousEffe
staticText = "{this} gets "
+ CardUtil.getBoostCountAsStr(power, toughness)
+ " as long as you control "
+ (filterDescription.startsWith("an ") ? "" : "a ")
+ filterDescription;
+ CardUtil.addArticle(filterDescription);
}
protected BoostSourceWhileControlsEffect(final BoostSourceWhileControlsEffect effect) {

View file

@ -13,7 +13,7 @@ import mage.constants.CardType;
public final class BananaToken extends TokenImpl {
public BananaToken() {
super("Banana", "colorless artifact token named Banana with \"{T}, Sacrifice this artifact: Add {R} or {G}. You gain 2 life.\"");
super("Banana", "colorless artifact token named Banana with \"{T}, Sacrifice this token: Add {R} or {G}. You gain 2 life.\"");
cardType.add(CardType.ARTIFACT);
// {T}, Sacrifice this artifact: Add {R} or {G}. You gain 2 life.
@ -22,7 +22,7 @@ public final class BananaToken extends TokenImpl {
ability.addEffect(new GainLifeEffect(2));
this.addAbility(ability);
ability = new GreenManaAbility();
ability.addCost(new SacrificeSourceCost().setText("sacrifice this artifact"));
ability.addCost(new SacrificeSourceCost().setText("sacrifice this token"));
ability.addEffect(new GainLifeEffect(2));
this.addAbility(ability);
}