From b82475dcfff4375601b01d870dc4e4552c8aebd1 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 21 Apr 2018 17:56:44 -0400 Subject: [PATCH] updated additional cost text --- Mage.Sets/src/mage/cards/a/AbandonHope.java | 10 +++++----- Mage.Sets/src/mage/cards/c/CallerOfTheHunt.java | 2 +- Mage.Sets/src/mage/cards/d/DevastatingDreams.java | 2 +- Mage.Sets/src/mage/cards/d/DraconicRoar.java | 2 +- Mage.Sets/src/mage/cards/d/DragonlordsPrerogative.java | 2 +- Mage.Sets/src/mage/cards/f/FoulTongueInvocation.java | 2 +- Mage.Sets/src/mage/cards/i/InsidiousDreams.java | 2 +- Mage.Sets/src/mage/cards/n/NahirisWrath.java | 2 +- Mage.Sets/src/mage/cards/o/OratorOfOjutai.java | 2 +- Mage.Sets/src/mage/cards/r/RuthlessDisposal.java | 2 +- Mage.Sets/src/mage/cards/s/ScaleguardSentinels.java | 2 +- Mage.Sets/src/mage/cards/s/ScorchedEarth.java | 2 +- Mage.Sets/src/mage/cards/s/SickeningDreams.java | 2 +- Mage.Sets/src/mage/cards/s/SilumgarsScorn.java | 2 +- Mage.Sets/src/mage/cards/s/SkeletalScrying.java | 2 +- Mage/src/main/java/mage/abilities/AbilitiesImpl.java | 2 +- 16 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Mage.Sets/src/mage/cards/a/AbandonHope.java b/Mage.Sets/src/mage/cards/a/AbandonHope.java index 1ef14327139..18e70e3d9ae 100644 --- a/Mage.Sets/src/mage/cards/a/AbandonHope.java +++ b/Mage.Sets/src/mage/cards/a/AbandonHope.java @@ -52,13 +52,13 @@ import mage.target.common.TargetCardInHand; public class AbandonHope extends CardImpl { public AbandonHope(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{X}{1}{B}"); + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{1}{B}"); // As an additional cost to cast Abandon Hope, discard X cards. Ability ability = new SimpleStaticAbility(Zone.ALL, new AbandonHopeRuleEffect()); ability.setRuleAtTheTop(true); this.addAbility(ability); - + // Look at target opponent's hand and choose X cards from it. That player discards those cards. ManacostVariableValue manaX = new ManacostVariableValue(); this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(manaX, TargetController.ANY)); @@ -68,7 +68,7 @@ public class AbandonHope extends CardImpl { public AbandonHope(final AbandonHope card) { super(card); } - + @Override public void adjustCosts(Ability ability, Game game) { int xValue = ability.getManaCostsToPay().getX(); @@ -87,7 +87,7 @@ class AbandonHopeRuleEffect extends OneShotEffect { public AbandonHopeRuleEffect() { super(Outcome.Benefit); - this.staticText = "As an additional cost to cast {this}, discard X cards"; + this.staticText = "As an additional cost to cast this spell, discard X cards"; } public AbandonHopeRuleEffect(final AbandonHopeRuleEffect effect) { @@ -103,4 +103,4 @@ class AbandonHopeRuleEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { return true; } -} \ No newline at end of file +} diff --git a/Mage.Sets/src/mage/cards/c/CallerOfTheHunt.java b/Mage.Sets/src/mage/cards/c/CallerOfTheHunt.java index b2d6968e4db..b683055fc30 100644 --- a/Mage.Sets/src/mage/cards/c/CallerOfTheHunt.java +++ b/Mage.Sets/src/mage/cards/c/CallerOfTheHunt.java @@ -93,7 +93,7 @@ class CallerOfTheHuntAdditionalCostEffect extends OneShotEffect { public CallerOfTheHuntAdditionalCostEffect() { super(Outcome.Benefit); - this.staticText = "As an additional cost to cast {this}, choose a creature type. \r" + this.staticText = "as an additional cost to cast this spell, choose a creature type. \r" + "{this}'s power and toughness are each equal to the number of creatures of the chosen type on the battlefield"; } diff --git a/Mage.Sets/src/mage/cards/d/DevastatingDreams.java b/Mage.Sets/src/mage/cards/d/DevastatingDreams.java index a4c62f9b1b0..34763133d6e 100644 --- a/Mage.Sets/src/mage/cards/d/DevastatingDreams.java +++ b/Mage.Sets/src/mage/cards/d/DevastatingDreams.java @@ -78,7 +78,7 @@ class DevastatingDreamsAdditionalCost extends VariableCostImpl { DevastatingDreamsAdditionalCost() { super("cards to discard randomly"); - this.text = "As an additional cost to cast {this}, discard X cards at random"; + this.text = "as an additional cost to cast this spell, discard X cards at random"; } DevastatingDreamsAdditionalCost(final DevastatingDreamsAdditionalCost cost) { diff --git a/Mage.Sets/src/mage/cards/d/DraconicRoar.java b/Mage.Sets/src/mage/cards/d/DraconicRoar.java index 196e0536b15..ac0d5b2eb57 100644 --- a/Mage.Sets/src/mage/cards/d/DraconicRoar.java +++ b/Mage.Sets/src/mage/cards/d/DraconicRoar.java @@ -64,7 +64,7 @@ public class DraconicRoar extends CardImpl { super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{R}"); // As an additional cost to cast Draconic Roar, you may reveal a Dragon card from your hand. - this.getSpellAbility().addEffect(new InfoEffect("As an additional cost to cast {this}, you may reveal a Dragon card from your hand")); + this.getSpellAbility().addEffect(new InfoEffect("as an additional cost to cast this spell, you may reveal a Dragon card from your hand")); // Draconic Roar deals 3 damage to target creature. If you revealed a Dragon card or controlled a Dragon as you cast Draconic Roar, Draconic Roar deals 3 damage to that creature's controller. this.getSpellAbility().addEffect(new DamageTargetEffect(3)); diff --git a/Mage.Sets/src/mage/cards/d/DragonlordsPrerogative.java b/Mage.Sets/src/mage/cards/d/DragonlordsPrerogative.java index fb897ecad00..fbec752380d 100644 --- a/Mage.Sets/src/mage/cards/d/DragonlordsPrerogative.java +++ b/Mage.Sets/src/mage/cards/d/DragonlordsPrerogative.java @@ -67,7 +67,7 @@ public class DragonlordsPrerogative extends CardImpl { super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{4}{U}{U}"); // As an additional cost to cast Dragonlord's Prerogative, you may reveal a Dragon card from your hand. - this.getSpellAbility().addEffect(new InfoEffect("As an additional cost to cast {this}, you may reveal a Dragon card from your hand")); + this.getSpellAbility().addEffect(new InfoEffect("as an additional cost to cast this spell, you may reveal a Dragon card from your hand")); // If you revealed a Dragon card or controlled a Dragon as you cast Dragonlord's Prerogative, Dragonlord's Prerogative can't be countered. Condition condition = new DragonlordsPrerogativeCondition(); diff --git a/Mage.Sets/src/mage/cards/f/FoulTongueInvocation.java b/Mage.Sets/src/mage/cards/f/FoulTongueInvocation.java index 6a89479e61a..fb4b2f69d24 100644 --- a/Mage.Sets/src/mage/cards/f/FoulTongueInvocation.java +++ b/Mage.Sets/src/mage/cards/f/FoulTongueInvocation.java @@ -64,7 +64,7 @@ public class FoulTongueInvocation extends CardImpl { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{B}"); // As an additional cost to cast Foul-Tongue Invocation, you may reveal a Dragon card from your hand. - this.getSpellAbility().addEffect(new InfoEffect("As an additional cost to cast {this}, you may reveal a Dragon card from your hand")); + this.getSpellAbility().addEffect(new InfoEffect("as an additional cost to cast this spell, you may reveal a Dragon card from your hand")); // Target player sacrifices a creature. If you revealed a Dragon card or controlled a Dragon as you cast Foul-Tongue Invocation, you gain 4 life. this.getSpellAbility().addTarget(new TargetPlayer()); diff --git a/Mage.Sets/src/mage/cards/i/InsidiousDreams.java b/Mage.Sets/src/mage/cards/i/InsidiousDreams.java index 2a796619cdf..dba486743a9 100644 --- a/Mage.Sets/src/mage/cards/i/InsidiousDreams.java +++ b/Mage.Sets/src/mage/cards/i/InsidiousDreams.java @@ -140,7 +140,7 @@ class InsidiousDreamsAdditionalCost extends VariableCostImpl { InsidiousDreamsAdditionalCost() { super("cards to discard"); - this.text = "As an additional cost to cast {this}, discard X cards"; + this.text = "as an additional cost to cast this spell, discard X cards"; } InsidiousDreamsAdditionalCost(final InsidiousDreamsAdditionalCost cost) { diff --git a/Mage.Sets/src/mage/cards/n/NahirisWrath.java b/Mage.Sets/src/mage/cards/n/NahirisWrath.java index 2eaeb382c9f..441e44cdbdc 100644 --- a/Mage.Sets/src/mage/cards/n/NahirisWrath.java +++ b/Mage.Sets/src/mage/cards/n/NahirisWrath.java @@ -93,7 +93,7 @@ class NahirisWrathAdditionalCost extends VariableCostImpl { NahirisWrathAdditionalCost() { super("cards to discard"); - this.text = "As an additional cost to cast {this}, discard X cards"; + this.text = "as an additional cost to cast this spell, discard X cards"; } NahirisWrathAdditionalCost(final NahirisWrathAdditionalCost cost) { diff --git a/Mage.Sets/src/mage/cards/o/OratorOfOjutai.java b/Mage.Sets/src/mage/cards/o/OratorOfOjutai.java index 72c3e57f999..81410a45d4e 100644 --- a/Mage.Sets/src/mage/cards/o/OratorOfOjutai.java +++ b/Mage.Sets/src/mage/cards/o/OratorOfOjutai.java @@ -74,7 +74,7 @@ public class OratorOfOjutai extends CardImpl { this.addAbility(FlyingAbility.getInstance()); // As an additional cost to cast Orator of Ojutai, you may reveal a Dragon card from your hand. - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new InfoEffect("As an additional cost to cast {this}, you may reveal a Dragon card from your hand"))); + this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new InfoEffect("as an additional cost to cast this spell, you may reveal a Dragon card from your hand"))); // When Orator of Ojutai enters the battlefield, if you revealed a Dragon card or controlled a Dragon as you cast Orator of Ojutai, draw a card. this.addAbility(new OratorOfOjutaiTriggeredAbility(new OratorOfOjutaiEffect()), new DragonOnTheBattlefieldWhileSpellWasCastWatcher()); diff --git a/Mage.Sets/src/mage/cards/r/RuthlessDisposal.java b/Mage.Sets/src/mage/cards/r/RuthlessDisposal.java index e7bcb8b3c8c..19cf992023d 100644 --- a/Mage.Sets/src/mage/cards/r/RuthlessDisposal.java +++ b/Mage.Sets/src/mage/cards/r/RuthlessDisposal.java @@ -55,7 +55,7 @@ public class RuthlessDisposal extends CardImpl { // As an additional cost to cast Ruthless Disposal, discard a card and sacrifice a creature. this.getSpellAbility().addCost(new DiscardTargetCost(new TargetCardInHand(new FilterCard("a card")))); Cost cost = new SacrificeTargetCost(new TargetControlledCreaturePermanent(FILTER_CONTROLLED_CREATURE_SHORT_TEXT)); - cost.setText("As an additional cost to cast {this}, sacrifice a creature"); + cost.setText("as an additional cost to cast this spell, sacrifice a creature"); this.getSpellAbility().addCost(cost); // Two target creatures each get -13/-13 until end of turn. diff --git a/Mage.Sets/src/mage/cards/s/ScaleguardSentinels.java b/Mage.Sets/src/mage/cards/s/ScaleguardSentinels.java index c0a19bac1d3..55887ebb6d2 100644 --- a/Mage.Sets/src/mage/cards/s/ScaleguardSentinels.java +++ b/Mage.Sets/src/mage/cards/s/ScaleguardSentinels.java @@ -69,7 +69,7 @@ public class ScaleguardSentinels extends CardImpl { this.toughness = new MageInt(3); // As an additional cost to cast Scaleguard Sentinels, you may reveal a Dragon card from your hand. - this.getSpellAbility().addEffect(new InfoEffect("As an additional cost to cast {this}, you may reveal a Dragon card from your hand")); + this.getSpellAbility().addEffect(new InfoEffect("as an additional cost to cast this spell, you may reveal a Dragon card from your hand")); // Scaleguard Sentinels enters the battlefield with a +1/+1 counter on it if you revealed a Dragon card or controlled a Dragon as you cast Scaleguard Sentinels. this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(), true), diff --git a/Mage.Sets/src/mage/cards/s/ScorchedEarth.java b/Mage.Sets/src/mage/cards/s/ScorchedEarth.java index 9dedf2cd26f..d8372671c12 100644 --- a/Mage.Sets/src/mage/cards/s/ScorchedEarth.java +++ b/Mage.Sets/src/mage/cards/s/ScorchedEarth.java @@ -98,7 +98,7 @@ class ScorchedEarthRuleEffect extends OneShotEffect { public ScorchedEarthRuleEffect() { super(Outcome.Benefit); - this.staticText = "As an additional cost to cast {this}, discard X land cards"; + this.staticText = "as an additional cost to cast this spell, discard X land cards"; } public ScorchedEarthRuleEffect(final ScorchedEarthRuleEffect effect) { diff --git a/Mage.Sets/src/mage/cards/s/SickeningDreams.java b/Mage.Sets/src/mage/cards/s/SickeningDreams.java index 117189d22d1..5e9b1798841 100644 --- a/Mage.Sets/src/mage/cards/s/SickeningDreams.java +++ b/Mage.Sets/src/mage/cards/s/SickeningDreams.java @@ -73,7 +73,7 @@ class SickeningDreamsAdditionalCost extends VariableCostImpl { SickeningDreamsAdditionalCost() { super("cards to discard"); - this.text = "As an additional cost to cast {this}, discard X cards"; + this.text = "as an additional cost to cast this spell, discard X cards"; } SickeningDreamsAdditionalCost(final SickeningDreamsAdditionalCost cost) { diff --git a/Mage.Sets/src/mage/cards/s/SilumgarsScorn.java b/Mage.Sets/src/mage/cards/s/SilumgarsScorn.java index f42fe9c5723..6cd739e9c3b 100644 --- a/Mage.Sets/src/mage/cards/s/SilumgarsScorn.java +++ b/Mage.Sets/src/mage/cards/s/SilumgarsScorn.java @@ -65,7 +65,7 @@ public class SilumgarsScorn extends CardImpl { super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{U}{U}"); // As an additional cost to cast Silumgar's Scorn, you may reveal a Dragon card from your hand. - this.getSpellAbility().addEffect(new InfoEffect("As an additional cost to cast {this}, you may reveal a Dragon card from your hand")); + this.getSpellAbility().addEffect(new InfoEffect("as an additional cost to cast this spell, you may reveal a Dragon card from your hand")); // Counter target spell unless its controller pays {1}. If you revealed a Dragon card or controlled a Dragon as you cast Silumgar's Scorn, counter that spell instead. this.getSpellAbility().addEffect(new SilumgarsScornCounterEffect()); diff --git a/Mage.Sets/src/mage/cards/s/SkeletalScrying.java b/Mage.Sets/src/mage/cards/s/SkeletalScrying.java index f186e260f9b..ab4edea9e31 100644 --- a/Mage.Sets/src/mage/cards/s/SkeletalScrying.java +++ b/Mage.Sets/src/mage/cards/s/SkeletalScrying.java @@ -86,7 +86,7 @@ class SkeletalScryingRuleEffect extends OneShotEffect { public SkeletalScryingRuleEffect() { super(Outcome.Benefit); - this.staticText = "As an additional cost to cast {this}, exile X cards from your graveyard"; + this.staticText = "as an additional cost to cast this spell, exile X cards from your graveyard"; } public SkeletalScryingRuleEffect(final SkeletalScryingRuleEffect effect) { diff --git a/Mage/src/main/java/mage/abilities/AbilitiesImpl.java b/Mage/src/main/java/mage/abilities/AbilitiesImpl.java index a7a10a32365..3af0086c00e 100644 --- a/Mage/src/main/java/mage/abilities/AbilitiesImpl.java +++ b/Mage/src/main/java/mage/abilities/AbilitiesImpl.java @@ -100,7 +100,7 @@ public class AbilitiesImpl extends ArrayList implements Ab for (Cost cost : ability.getCosts()) { if (cost.getText() != null && !cost.getText().isEmpty()) { if (!cost.getText().startsWith("As an additional cost")) { - sbRule.append("As an additional cost to cast {this}, "); + sbRule.append("as an additional cost to cast this spell, "); } sbRule.append(cost.getText()).append(".
"); }