some text fixes

This commit is contained in:
xenohedron 2025-11-18 21:06:21 -05:00
parent 4dcf37e007
commit bc3240e94d
9 changed files with 14 additions and 13 deletions

View file

@ -26,7 +26,7 @@ public final class AnotherChance extends CardImpl {
// You may mill two cards. Then return up to two creature cards from your graveyard to your hand.
this.getSpellAbility().addEffect(new AnotherChanceMillEffect());
this.getSpellAbility().addEffect(new OneShotNonTargetEffect(new ReturnFromGraveyardToHandTargetEffect().setText("Then return up to two creature cards from your graveyard to your hand."),
new TargetCardInYourGraveyard(0, 2, StaticFilters.FILTER_CARD_CREATURES_YOUR_GRAVEYARD, true)).withTargetDescription("up to two creature cards").concatBy("Then "));
new TargetCardInYourGraveyard(0, 2, StaticFilters.FILTER_CARD_CREATURES_YOUR_GRAVEYARD, true)).withTargetDescription("up to two creature cards"));
}
private AnotherChance(final AnotherChance card) {

View file

@ -7,6 +7,7 @@ import mage.constants.CardType;
import mage.filter.common.FilterAnyTarget;
import mage.filter.common.FilterPermanentOrPlayer;
import mage.filter.predicate.other.AnotherTargetPredicate;
import mage.target.common.TargetAnyTarget;
import mage.target.common.TargetPermanentOrPlayer;
import java.util.UUID;
@ -16,8 +17,7 @@ import java.util.UUID;
*/
public final class ArcTrail extends CardImpl {
private static final FilterPermanentOrPlayer filter1 = new FilterAnyTarget("creature, player or planeswalker to deal 2 damage");
private static final FilterPermanentOrPlayer filter2 = new FilterAnyTarget("another creature, player or planeswalker to deal 1 damage");
private static final FilterPermanentOrPlayer filter2 = new FilterAnyTarget("another target");
static {
filter2.getPermanentFilter().add(new AnotherTargetPredicate(2));
@ -29,7 +29,7 @@ public final class ArcTrail extends CardImpl {
// Arc Trail deals 2 damage to any target and 1 damage to another target
this.getSpellAbility().addEffect(new DamageTargetAndTargetEffect(2, 1));
this.getSpellAbility().addTarget(new TargetPermanentOrPlayer(filter1)
this.getSpellAbility().addTarget(new TargetAnyTarget()
.withChooseHint("to deal 2 damage").setTargetTag(1));
this.getSpellAbility().addTarget(new TargetPermanentOrPlayer(filter2)
.withChooseHint("to deal 1 damage").setTargetTag(2));

View file

@ -63,7 +63,7 @@ class ElectroAssaultingBatteryEffect extends OneShotEffect {
ElectroAssaultingBatteryEffect() {
super(Outcome.Damage);
staticText = "you may pay x. When you do, he deals X damage to target player";
staticText = "you may pay {X}. When you do, he deals X damage to target player";
}
private ElectroAssaultingBatteryEffect(final ElectroAssaultingBatteryEffect effect) {

View file

@ -20,7 +20,7 @@ import java.util.UUID;
*/
public final class ExplosiveWelcome extends CardImpl {
private static final FilterPermanentOrPlayer filter = new FilterAnyTarget();
private static final FilterPermanentOrPlayer filter = new FilterAnyTarget("any other target");
static {
filter.getPermanentFilter().add(new AnotherTargetPredicate(2));

View file

@ -23,7 +23,7 @@ import java.util.UUID;
public final class InvasionOfRegatha extends CardImpl {
private static final FilterPermanentOrPlayer filter = new FilterPermanentOrPlayer(
"another target permanent or player",
"another target battle or opponent",
new FilterBattlePermanent(), new FilterOpponent()
);

View file

@ -74,9 +74,9 @@ public class DamageTargetAndAllControlledEffect extends OneShotEffect {
return staticText;
}
String description = getTargetPointer().describeTargets(mode.getTargets(), "that player");
return "{this} deals " + firstAmount + " damage to " + description +
" and " + secondAmount + " damage to each " + filter.getMessage() +
" that player" +
return "{this} deals " + firstAmount + " damage to " + description + " and " +
((firstAmount == secondAmount) ? "each " : secondAmount + " damage to each ")
+ filter.getMessage() + " that player" +
(description.contains("planeswalker") ? " or that planeswalker's controller" : "") +
" controls";
}

View file

@ -13,7 +13,7 @@ public class HarnessSourceEffect extends OneShotEffect {
public HarnessSourceEffect() {
super(Outcome.AIDontUseIt);
staticText = "Harness {this}. <i>(Once harnessed, its ∞ ability is active.)<i>";
staticText = "Harness {this}. <i>(Once harnessed, its ∞ ability is active.)</i>";
}
protected HarnessSourceEffect(final HarnessSourceEffect effect) {

View file

@ -34,7 +34,7 @@ public class SearchLibraryForFourDifferentCardsEffect extends OneShotEffect {
staticText = "search your library for up to four " + filter +
" with different names and reveal them. " + (useTargetPointer ? "Target" : "An") +
" opponent chooses two of those cards. Put the chosen cards into your graveyard and the rest " +
putCards.getMessage(false, false) + ", then shuffle";
putCards.getMessage(false, false) + ". Then shuffle";
}
private SearchLibraryForFourDifferentCardsEffect(final SearchLibraryForFourDifferentCardsEffect effect) {

View file

@ -141,6 +141,7 @@ public abstract class TargetImpl implements Target {
addTargetWord = false;
} else if (targetName.endsWith("any target")
|| targetName.endsWith("any other target")
|| targetName.endsWith("another target")
|| targetName.endsWith("targets")) {
addTargetWord = false;
}