mirror of
https://github.com/correl/mage.git
synced 2024-11-28 11:09:54 +00:00
[SLD] a few more text fixes
This commit is contained in:
parent
cf2b6f8366
commit
abc6618cba
8 changed files with 16 additions and 17 deletions
|
@ -47,8 +47,9 @@ public final class BlankaFerociousFriend extends CardImpl {
|
|||
// Electric Thunder—Whenever 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(
|
||||
2, 2, Duration.EndOfTurn
|
||||
).setText("he gets +2/+2 until end of turn"), StaticFilters.FILTER_SPELL_A);
|
||||
ability.addEffect(new DamagePlayersEffect(2, TargetController.OPPONENT));
|
||||
).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)
|
||||
.setText("and deals 2 damage to each opponent"));
|
||||
this.addAbility(ability.withFlavorWord("Electric Thunder"));
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ public final class ChunLiCountlessKicks extends CardImpl {
|
|||
.setTargetAdjuster(ChunLiCountlessKicksAdjuster.instance));
|
||||
|
||||
// Lightning Kick—Whenever 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) {
|
||||
|
|
|
@ -53,7 +53,7 @@ public final class GoblinRabblemaster extends CardImpl {
|
|||
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.
|
||||
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) {
|
||||
|
|
|
@ -27,7 +27,7 @@ public final class ShadowOfDoubt extends CardImpl {
|
|||
// Players can't search libraries this turn.
|
||||
this.getSpellAbility().addEffect(new LibrariesCantBeSearchedEffect());
|
||||
// Draw a card.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
|
||||
}
|
||||
|
||||
private ShadowOfDoubt(final ShadowOfDoubt card) {
|
||||
|
|
|
@ -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.
|
||||
LoyaltyAbility ability = new LoyaltyAbility(new TapTargetEffect(), 1);
|
||||
ability.addEffect(new DontUntapInControllersNextUntapStepTargetEffect());
|
||||
ability.addEffect(new DontUntapInControllersNextUntapStepTargetEffect("it"));
|
||||
Target target = new TargetPermanent();
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -62,7 +62,7 @@ public class VerifyCardDataTest {
|
|||
|
||||
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 ONLY_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages
|
||||
|
||||
|
|
|
@ -109,6 +109,7 @@ public class Effects extends ArrayList<Effect> {
|
|||
&& !lastRule.endsWith(".]")
|
||||
&& !lastRule.startsWith("<b>Level ")
|
||||
&& !lastRule.endsWith(".)")
|
||||
&& !lastRule.endsWith("<br>")
|
||||
&& !lastRule.endsWith("</i>")) {
|
||||
sbText.append('.');
|
||||
}
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
|
||||
package mage.game.command.emblems;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.PutCardIntoGraveFromAnywhereAllTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.ReturnToHandTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.MaximumHandSizeControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.MaximumHandSizeControllerEffect.HandSizeModification;
|
||||
|
@ -12,11 +9,10 @@ import mage.constants.Duration;
|
|||
import mage.constants.SetTargetPointer;
|
||||
import mage.constants.TargetController;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.command.Emblem;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class TamiyoTheMoonSageEmblem extends Emblem {
|
||||
|
@ -28,11 +24,12 @@ public final class TamiyoTheMoonSageEmblem extends Emblem {
|
|||
|
||||
public TamiyoTheMoonSageEmblem() {
|
||||
this.setName("Emblem Tamiyo");
|
||||
Ability ability = new SimpleStaticAbility(Zone.COMMAND, new MaximumHandSizeControllerEffect(Integer.MAX_VALUE, Duration.EndOfGame, HandSizeModification.SET));
|
||||
this.getAbilities().add(ability);
|
||||
Effect effect = new ReturnToHandTargetEffect();
|
||||
effect.setText("return it to your hand");
|
||||
this.getAbilities().add(new SimpleStaticAbility(Zone.COMMAND, new MaximumHandSizeControllerEffect(
|
||||
Integer.MAX_VALUE, Duration.Custom, HandSizeModification.SET
|
||||
)));
|
||||
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
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue