[SLD] various text fixes

This commit is contained in:
Evan Kranzler 2022-02-18 10:13:15 -05:00
parent 9851ca90df
commit e91c6ad65c
12 changed files with 13 additions and 13 deletions

View file

@ -51,7 +51,7 @@ public final class AjaniTheGreathearted extends CardImpl {
// -2: Put a +1/+1 counter on each creature you control and a loyalty counter on each other planeswalker you control. // -2: Put a +1/+1 counter on each creature you control and a loyalty counter on each other planeswalker you control.
Ability ability = new LoyaltyAbility(new AddCountersAllEffect( Ability ability = new LoyaltyAbility(new AddCountersAllEffect(
CounterType.P1P1.createInstance(), StaticFilters.FILTER_CONTROLLED_CREATURES CounterType.P1P1.createInstance(), StaticFilters.FILTER_CONTROLLED_CREATURE
), -2); ), -2);
ability.addEffect(new AddCountersAllEffect( ability.addEffect(new AddCountersAllEffect(
CounterType.LOYALTY.createInstance(), filter CounterType.LOYALTY.createInstance(), filter

View file

@ -50,7 +50,7 @@ class ArlinnVoiceOfThePackReplacementEffect extends ReplacementEffectImpl {
ArlinnVoiceOfThePackReplacementEffect() { ArlinnVoiceOfThePackReplacementEffect() {
super(Duration.WhileOnBattlefield, Outcome.BoostCreature); super(Duration.WhileOnBattlefield, Outcome.BoostCreature);
staticText = "Each creature you control that's a Wolf or Werewolf " + staticText = "Each creature you control that's a Wolf or a Werewolf " +
"enters the battlefield with an additional +1/+1 counter on it"; "enters the battlefield with an additional +1/+1 counter on it";
} }

View file

@ -120,7 +120,7 @@ class CarpetOfFlowersEffect extends ManaEffect {
CarpetOfFlowersEffect() { CarpetOfFlowersEffect() {
super(); super();
staticText = "add X mana of any one color, where X is the number of Islands target opponent controls"; staticText = "you may add X mana of any one color, where X is the number of Islands target opponent controls";
} }
CarpetOfFlowersEffect(final CarpetOfFlowersEffect effect) { CarpetOfFlowersEffect(final CarpetOfFlowersEffect effect) {

View file

@ -3,7 +3,7 @@ package mage.cards.j;
import mage.abilities.Ability; import mage.abilities.Ability;
import mage.abilities.LoyaltyAbility; import mage.abilities.LoyaltyAbility;
import mage.abilities.common.SimpleStaticAbility; import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect; import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
import mage.abilities.effects.common.counter.AddCountersTargetEffect; import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.abilities.mana.AnyColorManaAbility; import mage.abilities.mana.AnyColorManaAbility;
import mage.cards.CardImpl; import mage.cards.CardImpl;
@ -31,7 +31,7 @@ public final class JiangYangguWildcrafter extends CardImpl {
this.setStartingLoyalty(3); this.setStartingLoyalty(3);
// Each creature you control with a +1/+1 counter on it has "{T}: Add one mana of any color." // Each creature you control with a +1/+1 counter on it has "{T}: Add one mana of any color."
this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect( this.addAbility(new SimpleStaticAbility(new GainAbilityAllEffect(
new AnyColorManaAbility(), Duration.WhileOnBattlefield, StaticFilters.FILTER_EACH_CONTROLLED_CREATURE_P1P1 new AnyColorManaAbility(), Duration.WhileOnBattlefield, StaticFilters.FILTER_EACH_CONTROLLED_CREATURE_P1P1
))); )));

View file

@ -49,7 +49,7 @@ class KayaBaneOfTheDeadEffect extends AsThoughEffectImpl {
KayaBaneOfTheDeadEffect() { KayaBaneOfTheDeadEffect() {
super(AsThoughEffectType.HEXPROOF, Duration.WhileOnBattlefield, Outcome.Benefit); super(AsThoughEffectType.HEXPROOF, Duration.WhileOnBattlefield, Outcome.Benefit);
staticText = "your opponents and creatures with hexproof they control " + staticText = "your opponents and permanents with hexproof your oppponents control " +
"can be the targets of spells and abilities you control as though they didn't have hexproof"; "can be the targets of spells and abilities you control as though they didn't have hexproof";
} }

View file

@ -52,7 +52,7 @@ public final class KothophedSoulHoarder extends CardImpl {
Ability ability = new ZoneChangeAllTriggeredAbility(Zone.BATTLEFIELD, Zone.BATTLEFIELD, Zone.GRAVEYARD, effect, filter, Ability ability = new ZoneChangeAllTriggeredAbility(Zone.BATTLEFIELD, Zone.BATTLEFIELD, Zone.GRAVEYARD, effect, filter,
"Whenever a permanent owned by another player is put into a graveyard from the battlefield, ", false); "Whenever a permanent owned by another player is put into a graveyard from the battlefield, ", false);
effect = new LoseLifeSourceControllerEffect(1); effect = new LoseLifeSourceControllerEffect(1);
effect.setText("and lose 1 life"); effect.setText("and you lose 1 life");
ability.addEffect(effect); ability.addEffect(effect);
this.addAbility(ability); this.addAbility(ability);
} }

View file

@ -30,7 +30,7 @@ import java.util.UUID;
*/ */
public final class LilianaDreadhordeGeneral extends CardImpl { public final class LilianaDreadhordeGeneral extends CardImpl {
private static final FilterControlledPermanent filter = new FilterControlledCreaturePermanent(" creatures"); private static final FilterControlledPermanent filter = new FilterControlledCreaturePermanent("creatures");
public LilianaDreadhordeGeneral(UUID ownerId, CardSetInfo setInfo) { public LilianaDreadhordeGeneral(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.PLANESWALKER}, "{4}{B}{B}"); super(ownerId, setInfo, new CardType[]{CardType.PLANESWALKER}, "{4}{B}{B}");

View file

@ -32,7 +32,7 @@ public final class ObNixilisTheHateTwisted extends CardImpl {
// Whenever an opponent draws a card, Ob Nixilis, the Hate-Twisted deals 1 damage to that player. // Whenever an opponent draws a card, Ob Nixilis, the Hate-Twisted deals 1 damage to that player.
this.addAbility(new DrawCardOpponentTriggeredAbility(new DamageTargetEffect( this.addAbility(new DrawCardOpponentTriggeredAbility(new DamageTargetEffect(
1, "that player" 1, true, "that player"
), false, true)); ), false, true));
// -2: Destroy target creature. Its controller draws two cards. // -2: Destroy target creature. Its controller draws two cards.

View file

@ -27,7 +27,7 @@ public final class RhysticStudy extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{U}"); super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{U}");
// Whenever an opponent casts a spell, you may draw a card unless that player pays {1}. // Whenever an opponent casts a spell, you may draw a card unless that player pays {1}.
this.addAbility(new SpellCastOpponentTriggeredAbility(Zone.BATTLEFIELD, new RhysticStudyDrawEffect(), StaticFilters.FILTER_SPELL, false, SetTargetPointer.PLAYER)); this.addAbility(new SpellCastOpponentTriggeredAbility(Zone.BATTLEFIELD, new RhysticStudyDrawEffect(), StaticFilters.FILTER_SPELL_A, false, SetTargetPointer.PLAYER));
} }
private RhysticStudy(final RhysticStudy card) { private RhysticStudy(final RhysticStudy card) {

View file

@ -42,7 +42,7 @@ class TeferisPuzzleBoxEffect extends OneShotEffect {
public TeferisPuzzleBoxEffect() { public TeferisPuzzleBoxEffect() {
super(Outcome.Neutral); super(Outcome.Neutral);
staticText = "At the beginning of each player's draw step, that player puts the cards in their hand on the bottom of their library in any order, then draws that many cards"; staticText = "that player puts the cards in their hand on the bottom of their library in any order, then draws that many cards";
} }
public TeferisPuzzleBoxEffect(final TeferisPuzzleBoxEffect effect) { public TeferisPuzzleBoxEffect(final TeferisPuzzleBoxEffect effect) {

View file

@ -62,7 +62,7 @@ public class VerifyCardDataTest {
private static final Logger logger = Logger.getLogger(VerifyCardDataTest.class); private static final Logger logger = Logger.getLogger(VerifyCardDataTest.class);
private static final String FULL_ABILITIES_CHECK_SET_CODE = "NEO"; // check all abilities and output cards with wrong abilities texts; private static final String FULL_ABILITIES_CHECK_SET_CODE = "SLD"; // check all abilities and output cards with wrong abilities texts;
private static final boolean AUTO_FIX_SAMPLE_DECKS = false; // debug only: auto-fix sample decks by test_checkSampleDecks test run private static final boolean AUTO_FIX_SAMPLE_DECKS = false; // debug only: auto-fix sample decks by test_checkSampleDecks test run
private static final boolean ONLY_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages private static final boolean ONLY_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages

View file

@ -483,7 +483,7 @@ public class Modes extends LinkedHashMap<UUID, Mode> {
throw new UnsupportedOperationException("no text available for this selection of min and max modes"); throw new UnsupportedOperationException("no text available for this selection of min and max modes");
} }
if (isEachModeOnlyOnce()) { if (isEachModeOnlyOnce() && this.getMaxModesFilter() == null) {
sb.append(" that hasn't been chosen"); sb.append(" that hasn't been chosen");
} }
if (isResetEachTurn()) { if (isResetEachTurn()) {