Skip to content

Commit

Permalink
text fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xenohedron committed Sep 18, 2023
1 parent 230fb3e commit 877651d
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 41 deletions.
8 changes: 4 additions & 4 deletions Mage.Sets/src/mage/cards/a/Agility.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

package mage.cards.a;

import java.util.UUID;
Expand All @@ -25,16 +24,17 @@ public Agility(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{1}{R}");
this.subtype.add(SubType.AURA);


// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
Ability ability = new EnchantAbility(auraTarget);
this.addAbility(ability);
// Enchanted creature gets +1/+1 and has flanking.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(1, 1)));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(new FlankingAbility(), AttachmentType.AURA)));
Ability boostAbility = new SimpleStaticAbility(new BoostEnchantedEffect(1, 1));
boostAbility.addEffect(new GainAbilityAttachedEffect(new FlankingAbility(), AttachmentType.AURA)
.setText("and has flanking"));
this.addAbility(boostAbility);

}

Expand Down
4 changes: 2 additions & 2 deletions Mage.Sets/src/mage/cards/a/AugmenterPugilist.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class EchoingEquationEffect extends OneShotEffect {

public EchoingEquationEffect() {
super(Outcome.Benefit);
staticText = "choose target creature you control. Each other creature you control becomes a copy of it until end of turn, except those creatures aren't legendary if the chosen creature is legendary";
staticText = "choose target creature you control. Each other creature you control becomes a copy of it until end of turn, except those creatures aren't legendary";
}

private EchoingEquationEffect(final EchoingEquationEffect effect) {
Expand Down Expand Up @@ -107,4 +107,4 @@ public boolean apply(Game game, MageObject blueprint, Ability source, UUID targe
}
return false;
}
}
}
6 changes: 4 additions & 2 deletions Mage.Sets/src/mage/cards/b/BestialFury.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ public BestialFury(UUID ownerId, CardSetInfo setInfo) {
.setText("draw a card at the beginning of the next turn's upkeep"), false));

// Whenever enchanted creature becomes blocked, it gets +4/+0 and gains trample until end of turn.
Ability pumpAbility = new BecomesBlockedAttachedTriggeredAbility(new BoostEnchantedEffect(4, 0, Duration.EndOfTurn), false);
pumpAbility.addEffect(new GainAbilityAttachedEffect(TrampleAbility.getInstance(), AttachmentType.AURA, Duration.EndOfTurn));
Ability pumpAbility = new BecomesBlockedAttachedTriggeredAbility(new BoostEnchantedEffect(4, 0, Duration.EndOfTurn)
.setText("it gets +4/+0"), false);
pumpAbility.addEffect(new GainAbilityAttachedEffect(TrampleAbility.getInstance(), AttachmentType.AURA, Duration.EndOfTurn)
.setText("and gains trample until end of turn"));


this.addAbility(pumpAbility);
Expand Down
2 changes: 1 addition & 1 deletion Mage.Sets/src/mage/cards/c/CloakOfFeathers.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public CloakOfFeathers(UUID ownerId, CardSetInfo setInfo) {
this.getSpellAbility().addTarget(new TargetCreaturePermanent());

// Draw a card.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
}

private CloakOfFeathers(final CloakOfFeathers card) {
Expand Down
4 changes: 2 additions & 2 deletions Mage.Sets/src/mage/cards/c/CometStellarPup.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class CometStellarPupAbility extends OneShotEffect {
CometStellarPupAbility() {
super(Outcome.Benefit);
staticText = "Roll a six-sided die.<br>"
+ "1 or 2 &mdash; [+2] , then create two 1/1 green Squirrel creature tokens. They gain haste until end of turn.<br>"
+ "1 or 2 &mdash; [+2], then create two 1/1 green Squirrel creature tokens. They gain haste until end of turn.<br>"
+ "3 &mdash; [-1], then return a card with mana value 2 or less from your graveyard to your hand.<br>"
+ "4 or 5 &mdash; {this} deals damage equal to the number of loyalty counters on him to a creature or player, then [-2].<br>"
+ "6 &mdash; [+1], and you may activate Comet, Stellar Pup's loyalty ability two more times this turn.";
Expand Down Expand Up @@ -186,4 +186,4 @@ public boolean apply(Game game, Ability source) {
}
return false;
}
}
}
5 changes: 2 additions & 3 deletions Mage.Sets/src/mage/cards/e/EnergyArc.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

package mage.cards.e;

import java.util.UUID;
Expand All @@ -22,8 +21,8 @@ public EnergyArc(UUID ownerId, CardSetInfo setInfo) {

// Untap any number of target creatures. Prevent all combat damage that would be dealt to and dealt by those creatures this turn.
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, Integer.MAX_VALUE));
this.getSpellAbility().addEffect(new UntapTargetEffect().setText("Untap any number of target creatures. "));
this.getSpellAbility().addEffect(new PreventDamageByTargetEffect(Duration.EndOfTurn, true).setText("Prevent all combat damage that would be dealt to "));
this.getSpellAbility().addEffect(new UntapTargetEffect().setText("Untap any number of target creatures"));
this.getSpellAbility().addEffect(new PreventDamageByTargetEffect(Duration.EndOfTurn, true).setText("Prevent all combat damage that would be dealt to"));
this.getSpellAbility().addEffect(new PreventDamageToTargetEffect(Duration.EndOfTurn, true).setText("and dealt by those creatures this turn."));
}

Expand Down
2 changes: 1 addition & 1 deletion Mage.Sets/src/mage/cards/e/ExemplarOfStrength.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public ExemplarOfStrength(UUID ownerId, CardSetInfo setInfo) {
// Whenever Exemplar of Strength attacks, remove a -1/-1 counter from it. If you do, you gain 1 life.
this.addAbility(new AttacksTriggeredAbility(new DoIfCostPaid(
new GainLifeEffect(1),
new RemoveCountersSourceCost(CounterType.M1M1.createInstance()),
new RemoveCountersSourceCost(CounterType.M1M1.createInstance()).setText("remove a -1/-1 counter from it"),
null, false
), false));
}
Expand Down
4 changes: 2 additions & 2 deletions Mage.Sets/src/mage/cards/f/FlameElemental.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

package mage.cards.f;

import java.util.UUID;
Expand Down Expand Up @@ -30,7 +29,8 @@ public FlameElemental(UUID ownerId, CardSetInfo setInfo) {
this.toughness = new MageInt(2);

// {R}, {tap}, Sacrifice Flame Elemental: Flame Elemental deals damage equal to its power to target creature.
Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(new SourcePermanentPowerCount(false)), new ManaCostsImpl<>("{R}"));
Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(new SourcePermanentPowerCount(false))
.setText("It deals damage equal to its power to target creature"), new ManaCostsImpl<>("{R}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetCreaturePermanent());
Expand Down
2 changes: 1 addition & 1 deletion Mage.Sets/src/mage/cards/g/GoblinDynamo.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public GoblinDynamo(UUID ownerId, CardSetInfo setInfo) {
this.addAbility(ability);

//{X}{R}, {T}, Sacrifice Goblin Dynamo: Goblin Dynamo deals X damage to any target.
ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,new DamageTargetEffect(ManacostVariableValue.REGULAR), new ManaCostsImpl<>("{X}{R}"));
ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,new DamageTargetEffect(ManacostVariableValue.REGULAR, "it"), new ManaCostsImpl<>("{X}{R}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetAnyTarget());
Expand Down
2 changes: 1 addition & 1 deletion Mage.Sets/src/mage/cards/h/HailStorm.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public HailStorm(UUID ownerId, CardSetInfo setInfo) {

// Hail Storm deals 2 damage to each attacking creature and 1 damage to you and each creature you control.
this.getSpellAbility().addEffect(new DamageAllEffect(2, new FilterAttackingCreature()));
this.getSpellAbility().addEffect(new DamageControllerEffect(1).setText("and 1 damage to you "));
this.getSpellAbility().addEffect(new DamageControllerEffect(1).setText("and 1 damage to you"));
this.getSpellAbility().addEffect(new DamageAllEffect(1, StaticFilters.FILTER_PERMANENT_CREATURE_CONTROLLED).setText("and each creature you control."));
}

Expand Down
2 changes: 1 addition & 1 deletion Mage.Sets/src/mage/cards/i/InvasionPlans.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class InvasionPlansEffect extends ContinuousRuleModifyingEffectImpl {

public InvasionPlansEffect() {
super(Duration.WhileOnBattlefield, Outcome.Benefit, false, false);
staticText = "The attacking player chooses how each creature blocks each turn";
staticText = "The attacking player chooses how each creature blocks each combat";
}

private InvasionPlansEffect(final InvasionPlansEffect effect) {
Expand Down
3 changes: 1 addition & 2 deletions Mage.Sets/src/mage/cards/k/KjeldoranPride.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

package mage.cards.k;

import java.util.UUID;
Expand Down Expand Up @@ -48,7 +47,7 @@ public KjeldoranPride(UUID ownerId, CardSetInfo setInfo) {
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(1, 2)));

// 2U: Attach Kjeldoran Pride to target creature other than enchanted creature.
Ability ability = new SimpleActivatedAbility(new AttachEffect(Outcome.Benefit), new ManaCostsImpl<>("{2}{U}"));
Ability ability = new SimpleActivatedAbility(new AttachEffect(Outcome.Benefit, "attach {this} to target " + filter.getMessage()), new ManaCostsImpl<>("{2}{U}"));
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
}
Expand Down
3 changes: 1 addition & 2 deletions Mage.Sets/src/mage/cards/k/KrovikanHorror.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import mage.filter.StaticFilters;
import mage.game.Game;
import mage.players.Player;
import mage.target.common.TargetControlledCreaturePermanent;
import mage.target.common.TargetAnyTarget;

/**
Expand All @@ -41,7 +40,7 @@ public KrovikanHorror(UUID ownerId, CardSetInfo setInfo) {
// At the beginning of the end step, if Krovikan Horror is in your graveyard with a creature card directly above it, you may return Krovikan Horror to your hand.
this.addAbility(new BeginningOfEndStepTriggeredAbility(
Zone.GRAVEYARD, new ReturnSourceFromGraveyardToHandEffect(),
TargetController.ANY, KrovikanHorrorCondition.instance, true
TargetController.NEXT, KrovikanHorrorCondition.instance, true
));

// {1}, Sacrifice a creature: Krovikan Horror deals 1 damage to any target.
Expand Down
2 changes: 1 addition & 1 deletion Mage.Sets/src/mage/cards/l/LiegeOfTheAxe.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public LiegeOfTheAxe(UUID ownerId, CardSetInfo setInfo) {
// Morph {1}{W}
this.addAbility(new MorphAbility(new ManaCostsImpl<>("{1}{W}")));
// When Liege of the Axe is turned face up, untap it.
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new UntapSourceEffect()));
this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new UntapSourceEffect().setText("untap it")));
}

private LiegeOfTheAxe(final LiegeOfTheAxe card) {
Expand Down
3 changes: 1 addition & 2 deletions Mage.Sets/src/mage/cards/l/LordOfTresserhorn.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

package mage.cards.l;

import java.util.UUID;
Expand Down Expand Up @@ -37,7 +36,7 @@ public LordOfTresserhorn(UUID ownerId, CardSetInfo setInfo) {

// When Lord of Tresserhorn enters the battlefield, you lose 2 life, you sacrifice two creatures, and target opponent draws two cards.
Ability ability = new EntersBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(2), false);
ability.addEffect(new SacrificeControllerEffect(new FilterControlledCreaturePermanent("creatures"), 2, "you"));
ability.addEffect(new SacrificeControllerEffect(new FilterControlledCreaturePermanent("creatures"), 2, ", you"));
Effect effect = new DrawCardTargetEffect(2);
effect.setText(", and target opponent draws two cards");
ability.addEffect(effect);
Expand Down
2 changes: 1 addition & 1 deletion Mage.Sets/src/mage/cards/n/NaturesChosen.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public final class NaturesChosen extends CardImpl {
CardType.LAND.getPredicate()));
}

private static final FilterCreaturePermanent filterWhiteUntappedCreature = new FilterCreaturePermanent(" if enchanted creature is white and is untapped");
private static final FilterCreaturePermanent filterWhiteUntappedCreature = new FilterCreaturePermanent("enchanted creature is white and untapped");

static {
filterWhiteUntappedCreature.add(new ColorPredicate(ObjectColor.WHITE));
Expand Down
3 changes: 2 additions & 1 deletion Mage.Sets/src/mage/cards/s/ShrineOfBurningRage.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public ShrineOfBurningRage (UUID ownerId, CardSetInfo setInfo) {
new SpellCastControllerTriggeredAbility(null, filter, false)));

//{3}, {T}, Sacrifice Shrine of Burning Rage: It deals damage equal to the number of charge counters on it to any target.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new CountersSourceCount(CounterType.CHARGE)), new GenericManaCost(3));
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new CountersSourceCount(CounterType.CHARGE))
.setText("it deals damage equal to the number of charge counters on it to any target"), new GenericManaCost(3));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetAnyTarget());
Expand Down
19 changes: 8 additions & 11 deletions Mage.Sets/src/mage/cards/u/UnstableHulk.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@

package mage.cards.u;

import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.TurnedFaceUpSourceTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
import mage.abilities.effects.common.turn.SkipNextTurnSourceEffect;
Expand All @@ -33,15 +31,14 @@ public UnstableHulk(UUID ownerId, CardSetInfo setInfo) {
this.toughness = new MageInt(2);

// Morph {3}{R}{R}
this.addAbility(new MorphAbility(new ManaCostsImpl<>("{R}{R}")));
this.addAbility(new MorphAbility(new ManaCostsImpl<>("{3}{R}{R}")));

//When Unstable Hulk is turned face up, it gets +6/+6 and gains trample until end of turn. You skip your next turn.
Effect effect = new GainAbilitySourceEffect(TrampleAbility.getInstance(), Duration.EndOfTurn);
Ability ability = new TurnedFaceUpSourceTriggeredAbility(effect);
effect = new BoostSourceEffect(6,6,Duration.EndOfTurn);
ability.addEffect(effect);
effect = new SkipNextTurnSourceEffect();
ability.addEffect(effect);
// When Unstable Hulk is turned face up, it gets +6/+6 and gains trample until end of turn. You skip your next turn.
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new BoostSourceEffect(6,6,Duration.EndOfTurn)
.setText("it gets +6/+6"));
ability.addEffect(new GainAbilitySourceEffect(TrampleAbility.getInstance(), Duration.EndOfTurn)
.setText("and gains trample until end of turn"));
ability.addEffect(new SkipNextTurnSourceEffect());
this.addAbility(ability);

}
Expand All @@ -54,4 +51,4 @@ private UnstableHulk(final UnstableHulk card) {
public UnstableHulk copy() {
return new UnstableHulk(this);
}
}
}
2 changes: 1 addition & 1 deletion Mage.Sets/src/mage/cards/w/WalkerOfTheWastes.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
public final class WalkerOfTheWastes extends CardImpl {

private static final FilterLandPermanent filter = new FilterLandPermanent("each land you control named Wastes");
private static final FilterLandPermanent filter = new FilterLandPermanent("land you control named Wastes");

static {
filter.add(new NamePredicate("Wastes"));
Expand Down

0 comments on commit 877651d

Please sign in to comment.