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

@ -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;
}