[SLD] a few more text fixes

This commit is contained in:
Evan Kranzler 2022-02-22 07:59:33 -05:00
parent cf2b6f8366
commit abc6618cba
8 changed files with 16 additions and 17 deletions

View file

@ -47,8 +47,9 @@ public final class BlankaFerociousFriend extends CardImpl {
// Electric ThunderWhenever Blanka becomes the target of a spell, he gets +2/+2 until end of turn and deals 2 damage to each opponent. // Electric ThunderWhenever Blanka becomes the target of a spell, he gets +2/+2 until end of turn and deals 2 damage to each opponent.
Ability ability = new BecomesTargetTriggeredAbility(new BoostSourceEffect( Ability ability = new BecomesTargetTriggeredAbility(new BoostSourceEffect(
2, 2, Duration.EndOfTurn 2, 2, Duration.EndOfTurn
).setText("he gets +2/+2 until end of turn"), StaticFilters.FILTER_SPELL_A); ).setText("he gets +2/+2 until end of turn"), StaticFilters.FILTER_SPELL_A).setTriggerPhrase("Whenever {this} becomes the target of a spell, ");
ability.addEffect(new DamagePlayersEffect(2, TargetController.OPPONENT)); ability.addEffect(new DamagePlayersEffect(2, TargetController.OPPONENT)
.setText("and deals 2 damage to each opponent"));
this.addAbility(ability.withFlavorWord("Electric Thunder")); this.addAbility(ability.withFlavorWord("Electric Thunder"));
} }

View file

@ -42,7 +42,7 @@ public final class ChunLiCountlessKicks extends CardImpl {
.setTargetAdjuster(ChunLiCountlessKicksAdjuster.instance)); .setTargetAdjuster(ChunLiCountlessKicksAdjuster.instance));
// Lightning KickWhenever Chun-Li attacks, copy each exiled card you own with a kick counter on it. You may cast the copies. // Lightning KickWhenever Chun-Li attacks, copy each exiled card you own with a kick counter on it. You may cast the copies.
this.addAbility(new AttacksTriggeredAbility(new ChunLiCountlessKicksCastEffect())); this.addAbility(new AttacksTriggeredAbility(new ChunLiCountlessKicksCastEffect()).withFlavorWord("Lightning Kick"));
} }
private ChunLiCountlessKicks(final ChunLiCountlessKicks card) { private ChunLiCountlessKicks(final ChunLiCountlessKicks card) {

View file

@ -53,7 +53,7 @@ public final class GoblinRabblemaster extends CardImpl {
this.addAbility(new BeginningOfCombatTriggeredAbility(new CreateTokenEffect(new GoblinToken(true)), TargetController.YOU, false)); this.addAbility(new BeginningOfCombatTriggeredAbility(new CreateTokenEffect(new GoblinToken(true)), TargetController.YOU, false));
// When Goblin Rabblemaster attacks, it gets +1/+0 until end of turn for each other attacking Goblin. // When Goblin Rabblemaster attacks, it gets +1/+0 until end of turn for each other attacking Goblin.
this.addAbility(new AttacksTriggeredAbility(new BoostSourceEffect(new PermanentsOnBattlefieldCount(attackingFilter), StaticValue.get(0), Duration.EndOfTurn, true), false)); this.addAbility(new AttacksTriggeredAbility(new BoostSourceEffect(new PermanentsOnBattlefieldCount(attackingFilter), StaticValue.get(0), Duration.EndOfTurn, true, "it"), false));
} }
private GoblinRabblemaster(final GoblinRabblemaster card) { private GoblinRabblemaster(final GoblinRabblemaster card) {

View file

@ -27,7 +27,7 @@ public final class ShadowOfDoubt extends CardImpl {
// Players can't search libraries this turn. // Players can't search libraries this turn.
this.getSpellAbility().addEffect(new LibrariesCantBeSearchedEffect()); this.getSpellAbility().addEffect(new LibrariesCantBeSearchedEffect());
// Draw a card. // Draw a card.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1)); this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
} }
private ShadowOfDoubt(final ShadowOfDoubt card) { private ShadowOfDoubt(final ShadowOfDoubt card) {

View file

@ -38,7 +38,7 @@ public final class TamiyoTheMoonSage extends CardImpl {
// +1: Tap target permanent. It doesn't untap during its controller's next untap step. // +1: Tap target permanent. It doesn't untap during its controller's next untap step.
LoyaltyAbility ability = new LoyaltyAbility(new TapTargetEffect(), 1); LoyaltyAbility ability = new LoyaltyAbility(new TapTargetEffect(), 1);
ability.addEffect(new DontUntapInControllersNextUntapStepTargetEffect()); ability.addEffect(new DontUntapInControllersNextUntapStepTargetEffect("it"));
Target target = new TargetPermanent(); Target target = new TargetPermanent();
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);

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 = "KLD"; // 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

@ -109,6 +109,7 @@ public class Effects extends ArrayList<Effect> {
&& !lastRule.endsWith(".]") && !lastRule.endsWith(".]")
&& !lastRule.startsWith("<b>Level ") && !lastRule.startsWith("<b>Level ")
&& !lastRule.endsWith(".)") && !lastRule.endsWith(".)")
&& !lastRule.endsWith("<br>")
&& !lastRule.endsWith("</i>")) { && !lastRule.endsWith("</i>")) {
sbText.append('.'); sbText.append('.');
} }

View file

@ -1,10 +1,7 @@
package mage.game.command.emblems; package mage.game.command.emblems;
import mage.abilities.Ability;
import mage.abilities.common.PutCardIntoGraveFromAnywhereAllTriggeredAbility; import mage.abilities.common.PutCardIntoGraveFromAnywhereAllTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility; import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.ReturnToHandTargetEffect; import mage.abilities.effects.common.ReturnToHandTargetEffect;
import mage.abilities.effects.common.continuous.MaximumHandSizeControllerEffect; import mage.abilities.effects.common.continuous.MaximumHandSizeControllerEffect;
import mage.abilities.effects.common.continuous.MaximumHandSizeControllerEffect.HandSizeModification; import mage.abilities.effects.common.continuous.MaximumHandSizeControllerEffect.HandSizeModification;
@ -12,11 +9,10 @@ import mage.constants.Duration;
import mage.constants.SetTargetPointer; import mage.constants.SetTargetPointer;
import mage.constants.TargetController; import mage.constants.TargetController;
import mage.constants.Zone; import mage.constants.Zone;
import mage.filter.FilterCard; import mage.filter.StaticFilters;
import mage.game.command.Emblem; import mage.game.command.Emblem;
/** /**
*
* @author spjspj * @author spjspj
*/ */
public final class TamiyoTheMoonSageEmblem extends Emblem { public final class TamiyoTheMoonSageEmblem extends Emblem {
@ -28,11 +24,12 @@ public final class TamiyoTheMoonSageEmblem extends Emblem {
public TamiyoTheMoonSageEmblem() { public TamiyoTheMoonSageEmblem() {
this.setName("Emblem Tamiyo"); this.setName("Emblem Tamiyo");
Ability ability = new SimpleStaticAbility(Zone.COMMAND, new MaximumHandSizeControllerEffect(Integer.MAX_VALUE, Duration.EndOfGame, HandSizeModification.SET)); this.getAbilities().add(new SimpleStaticAbility(Zone.COMMAND, new MaximumHandSizeControllerEffect(
this.getAbilities().add(ability); Integer.MAX_VALUE, Duration.Custom, HandSizeModification.SET
Effect effect = new ReturnToHandTargetEffect(); )));
effect.setText("return it to your hand");
this.getAbilities().add(new PutCardIntoGraveFromAnywhereAllTriggeredAbility( this.getAbilities().add(new PutCardIntoGraveFromAnywhereAllTriggeredAbility(
Zone.COMMAND, effect, true, new FilterCard("a card"), TargetController.YOU, SetTargetPointer.CARD)); Zone.COMMAND, new ReturnToHandTargetEffect().setText("return it to your hand"),
true, StaticFilters.FILTER_CARD_A, TargetController.YOU, SetTargetPointer.CARD
));
} }
} }