[ELD] various text fixes

This commit is contained in:
Evan Kranzler 2022-06-03 08:26:04 -04:00
parent 241205b425
commit aa5a2b1c29
9 changed files with 19 additions and 15 deletions

View file

@ -44,13 +44,13 @@ public final class AnimatingFaerie extends AdventureCard {
// Target noncreature artifact you control becomes a 0/0 artifact creature. Put four +1/+1 counters on it.
this.getSpellCard().getSpellAbility().addEffect(new AddCardTypeTargetEffect(
Duration.EndOfGame, CardType.ARTIFACT, CardType.CREATURE
).setText("Target noncreature artifact you control becomes"));
).setText("Target noncreature artifact you control becomes a 0/0 artifact creature"));
this.getSpellCard().getSpellAbility().addEffect(new SetPowerToughnessTargetEffect(
0, 0, Duration.EndOfGame
).setText("a 0/0 artifact creature"));
).setText("Put four +1/+1 counters on it."));
this.getSpellCard().getSpellAbility().addEffect(new AddCountersTargetEffect(
CounterType.P1P1.createInstance(4)
).setText("Put four +1/+1 counters on it."));
).setText(" "));
this.getSpellCard().getSpellAbility().addTarget(new TargetPermanent(filter));
}

View file

@ -28,9 +28,11 @@ public final class BonecrusherGiant extends AdventureCard {
this.toughness = new MageInt(3);
// Whenever Bonecrusher Giant becomes the target of a spell, Bonecrusher Giant deals 2 damage to that spell's controller.
this.addAbility(new BecomesTargetTriggeredAbility(new DamageTargetEffect(
2, true, "that's spell's controller", "{this}"
), StaticFilters.FILTER_SPELL_A, SetTargetPointer.PLAYER));
this.addAbility(new BecomesTargetTriggeredAbility(
new DamageTargetEffect(
2, true, "that spell's controller", "{this}"
), StaticFilters.FILTER_SPELL_A, SetTargetPointer.PLAYER
).setTriggerPhrase("Whenever {this} becomes the target of a spell, "));
// Stomp
// Damage cant be prevented this turn. Stomp deals 2 damage to any target.

View file

@ -39,7 +39,8 @@ public final class CauldronFamiliar extends CardImpl {
// Sacrifice a Food: Return Cauldron Familiar from your graveyard to the battlefield.
this.addAbility(new SimpleActivatedAbility(
Zone.GRAVEYARD, new ReturnSourceFromGraveyardToBattlefieldEffect(),
Zone.GRAVEYARD,
new ReturnSourceFromGraveyardToBattlefieldEffect(false, false),
new SacrificeTargetCost(new TargetControlledPermanent(filter))
));
}

View file

@ -1,6 +1,5 @@
package mage.cards.f;
import java.util.UUID;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.PutOnLibraryTargetEffect;
import mage.cards.CardImpl;
@ -9,6 +8,8 @@ import mage.constants.CardType;
import mage.filter.StaticFilters;
import mage.target.common.TargetCardInYourGraveyard;
import java.util.UUID;
/**
* @author TheElk801
*/
@ -22,7 +23,7 @@ public final class ForeverYoung extends CardImpl {
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, Integer.MAX_VALUE, StaticFilters.FILTER_CARD_CREATURES_YOUR_GRAVEYARD));
// Draw a card.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
}
private ForeverYoung(final ForeverYoung card) {

View file

@ -29,8 +29,8 @@ public final class FoulmireKnight extends AdventureCard {
// Profane Insight
// You draw a card and you lose 1 life.
this.getSpellCard().getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).setText("You draw a card and"));
this.getSpellCard().getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(1));
this.getSpellCard().getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).setText("You draw a card"));
this.getSpellCard().getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(1).concatBy("and"));
}
private FoulmireKnight(final FoulmireKnight card) {

View file

@ -41,7 +41,7 @@ public final class OgreErrant extends CardImpl {
// Whenever Ogre Errant attacks, another target attacking Knight gains menace until end of turn.
Ability ability = new AttacksTriggeredAbility(new GainAbilityTargetEffect(
new MenaceAbility(), Duration.EndOfTurn
).setText("another target attacking Knight gains menace until end of turn." +
).setText("another target attacking Knight gains menace until end of turn. " +
"<i>(It can't be blocked except by two or more creatures.)</i>"), false);
ability.addTarget(new TargetPermanent(filter));
this.addAbility(ability);

View file

@ -23,7 +23,7 @@ public final class TrueLovesKiss extends CardImpl {
this.getSpellAbility().addTarget(new TargetPermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_OR_ENCHANTMENT));
// Draw a card
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
}
private TrueLovesKiss(final TrueLovesKiss card) {

View file

@ -60,7 +60,7 @@ public class VerifyCardDataTest {
private static final Logger logger = Logger.getLogger(VerifyCardDataTest.class);
private static final String FULL_ABILITIES_CHECK_SET_CODE = "CLB"; // check all abilities and output cards with wrong abilities texts;
private static final String FULL_ABILITIES_CHECK_SET_CODE = "ELD"; // 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 ONLY_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages

View file

@ -16,7 +16,7 @@ public class EntersBattlefieldAttachToTarget extends EntersBattlefieldTriggeredA
}
public EntersBattlefieldAttachToTarget(FilterPermanent filter) {
super(new AttachEffect(Outcome.BoostCreature, "attach it to target" + filter.getMessage()));
super(new AttachEffect(Outcome.BoostCreature, "attach it to target " + filter.getMessage()));
this.addTarget(new TargetPermanent(filter));
}