mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
[GN3] various text fixes
This commit is contained in:
parent
9ba60eb97b
commit
501e769691
7 changed files with 16 additions and 16 deletions
|
@ -88,7 +88,7 @@ class DiluvianPrimordialEffect extends OneShotEffect {
|
||||||
this.staticText = "for each opponent, you may cast up to one target "
|
this.staticText = "for each opponent, you may cast up to one target "
|
||||||
+ "instant or sorcery card from that player's graveyard without "
|
+ "instant or sorcery card from that player's graveyard without "
|
||||||
+ "paying its mana cost. If a spell cast this way would be put "
|
+ "paying its mana cost. If a spell cast this way would be put "
|
||||||
+ "into a graveyard this turn, exile it instead";
|
+ "into a graveyard, exile it instead";
|
||||||
}
|
}
|
||||||
|
|
||||||
public DiluvianPrimordialEffect(final DiluvianPrimordialEffect effect) {
|
public DiluvianPrimordialEffect(final DiluvianPrimordialEffect effect) {
|
||||||
|
|
|
@ -36,7 +36,7 @@ public final class DragonTempest extends CardImpl {
|
||||||
|
|
||||||
// Whenever a creature with flying enters the battlefield under your control, it gains haste until the end of turn.
|
// Whenever a creature with flying enters the battlefield under your control, it gains haste until the end of turn.
|
||||||
Effect effect = new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn);
|
Effect effect = new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn);
|
||||||
effect.setText("it gains haste until the end of turn");
|
effect.setText("it gains haste until end of turn");
|
||||||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(Zone.BATTLEFIELD, effect, filterFlying, false, SetTargetPointer.PERMANENT, ""));
|
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(Zone.BATTLEFIELD, effect, filterFlying, false, SetTargetPointer.PERMANENT, ""));
|
||||||
|
|
||||||
// Whenever a Dragon enters the battlefield under your control, it deals X damage to any target, where X is the number of Dragons you control.
|
// Whenever a Dragon enters the battlefield under your control, it deals X damage to any target, where X is the number of Dragons you control.
|
||||||
|
|
|
@ -24,7 +24,7 @@ public final class FlametongueKavu extends CardImpl {
|
||||||
|
|
||||||
this.power = new MageInt(4);
|
this.power = new MageInt(4);
|
||||||
this.toughness = new MageInt(2);
|
this.toughness = new MageInt(2);
|
||||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(4), false);
|
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(4, "it"), false);
|
||||||
ability.addTarget(new TargetCreaturePermanent());
|
ability.addTarget(new TargetCreaturePermanent());
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
|
|
||||||
package mage.cards.f;
|
package mage.cards.f;
|
||||||
|
|
||||||
import java.util.UUID;
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
|
@ -12,18 +10,18 @@ import mage.abilities.keyword.FlyingAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.SubType;
|
|
||||||
import mage.constants.Duration;
|
import mage.constants.Duration;
|
||||||
import mage.constants.Zone;
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @author jeffwadsworth
|
* @author jeffwadsworth
|
||||||
*/
|
*/
|
||||||
public final class FogBank extends CardImpl {
|
public final class FogBank extends CardImpl {
|
||||||
|
|
||||||
public FogBank(UUID ownerId, CardSetInfo setInfo) {
|
public FogBank(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{U}");
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}");
|
||||||
this.subtype.add(SubType.WALL);
|
this.subtype.add(SubType.WALL);
|
||||||
|
|
||||||
this.power = new MageInt(0);
|
this.power = new MageInt(0);
|
||||||
|
@ -31,13 +29,15 @@ public final class FogBank extends CardImpl {
|
||||||
|
|
||||||
// Defender
|
// Defender
|
||||||
this.addAbility(DefenderAbility.getInstance());
|
this.addAbility(DefenderAbility.getInstance());
|
||||||
|
|
||||||
// Flying
|
// Flying
|
||||||
this.addAbility(FlyingAbility.getInstance());
|
this.addAbility(FlyingAbility.getInstance());
|
||||||
|
|
||||||
// Prevent all combat damage that would be dealt to and dealt by Fog Bank.
|
// Prevent all combat damage that would be dealt to and dealt by Fog Bank.
|
||||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new PreventCombatDamageToSourceEffect(Duration.WhileOnBattlefield));
|
Ability ability = new SimpleStaticAbility(new PreventCombatDamageToSourceEffect(Duration.WhileOnBattlefield)
|
||||||
ability.addEffect(new PreventCombatDamageBySourceEffect(Duration.WhileOnBattlefield));
|
.setText("prevent all combat damage that would be dealt to"));
|
||||||
|
ability.addEffect(new PreventCombatDamageBySourceEffect(Duration.WhileOnBattlefield)
|
||||||
|
.setText("and dealt by {this}"));
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ public final class Repulse extends CardImpl {
|
||||||
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
|
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||||
// Draw a card.
|
// Draw a card.
|
||||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
|
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private Repulse(final Repulse card) {
|
private Repulse(final Repulse card) {
|
||||||
|
|
|
@ -33,7 +33,7 @@ public final class ThornLieutenant extends CardImpl {
|
||||||
this.addAbility(new BecomesTargetTriggeredAbility(
|
this.addAbility(new BecomesTargetTriggeredAbility(
|
||||||
new CreateTokenEffect(new ElfWarriorToken()),
|
new CreateTokenEffect(new ElfWarriorToken()),
|
||||||
StaticFilters.FILTER_SPELL_OR_ABILITY_OPPONENTS
|
StaticFilters.FILTER_SPELL_OR_ABILITY_OPPONENTS
|
||||||
));
|
).setTriggerPhrase("Whenever {this} becomes the target of a spell or ability an opponent controls, "));
|
||||||
|
|
||||||
// {5}{G}: Thorn Lieutenant gets +4/+4 until end of turn.
|
// {5}{G}: Thorn Lieutenant gets +4/+4 until end of turn.
|
||||||
this.addAbility(new SimpleActivatedAbility(
|
this.addAbility(new SimpleActivatedAbility(
|
||||||
|
|
|
@ -60,7 +60,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 = "NCC"; // check all abilities and output cards with wrong abilities texts;
|
private static final String FULL_ABILITIES_CHECK_SET_CODE = "GN3"; // 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue