diff --git a/Mage.Sets/src/mage/cards/m/MoltenExhale.java b/Mage.Sets/src/mage/cards/m/MoltenExhale.java index b70d0407772..723885c7f30 100644 --- a/Mage.Sets/src/mage/cards/m/MoltenExhale.java +++ b/Mage.Sets/src/mage/cards/m/MoltenExhale.java @@ -1,11 +1,17 @@ package mage.cards.m; +import mage.abilities.Ability; import mage.abilities.common.PayMoreToCastAsThoughtItHadFlashAbility; +import mage.abilities.costs.Cost; +import mage.abilities.costs.CostImpl; +import mage.abilities.costs.CostsImpl; import mage.abilities.costs.common.BeholdDragonCost; +import mage.abilities.effects.Effect; import mage.abilities.effects.common.DamageTargetEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; +import mage.target.Target; import mage.target.common.TargetCreatureOrPlaneswalker; import java.util.UUID; @@ -19,14 +25,18 @@ public final class MoltenExhale extends CardImpl { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}"); // You may cast this spell as though it had flash if you behold a Dragon as an additional cost to cast it. - this.addAbility(new PayMoreToCastAsThoughtItHadFlashAbility( - this, new BeholdDragonCost(), "you may cast this spell as though " + - "it had flash if you behold a Dragon as an additional cost to cast it" - )); + Ability ability = new PayMoreToCastAsThoughtItHadFlashAbility(this, new BeholdDragonCost(), + "you may cast this spell as though it had flash if you behold a Dragon as an additional cost to cast it."); + Target target = new TargetCreatureOrPlaneswalker(); + Effect effect = new DamageTargetEffect(4); + ability.addEffect(effect); + ability.addTarget(target); + ability.setAdditionalCostsRuleVisible(false); + this.addAbility(ability); // Molten Exhale deals 4 damage to target creature or planeswalker. - this.getSpellAbility().addEffect(new DamageTargetEffect(4)); - this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker()); + this.getSpellAbility().addEffect(effect); + this.getSpellAbility().addTarget(target); } private MoltenExhale(final MoltenExhale card) {