diff --git a/Mage.Sets/src/mage/cards/l/LanternFlare.java b/Mage.Sets/src/mage/cards/l/LanternFlare.java new file mode 100644 index 0000000000..723d4d823f --- /dev/null +++ b/Mage.Sets/src/mage/cards/l/LanternFlare.java @@ -0,0 +1,53 @@ +package mage.cards.l; + +import mage.abilities.Ability; +import mage.abilities.dynamicvalue.common.CreaturesYouControlCount; +import mage.abilities.dynamicvalue.common.ManacostVariableValue; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.abilities.effects.common.GainLifeEffect; +import mage.abilities.hint.common.CreaturesYouControlHint; +import mage.abilities.keyword.CleaveAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetCreatureOrPlaneswalker; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class LanternFlare extends CardImpl { + + public LanternFlare(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}"); + + // Cleave {X}{R}{W} + Ability ability = new CleaveAbility( + this, new DamageTargetEffect(ManacostVariableValue.REGULAR), "{X}{R}{W}" + ); + ability.addEffect(new GainLifeEffect(ManacostVariableValue.REGULAR)); + ability.addTarget(new TargetCreatureOrPlaneswalker()); + this.addAbility(ability); + + // Lantern Flare deals X damage to target creature or planeswalker and you gain X life. [X is the number of creatures you control.] + this.getSpellAbility().addEffect(new DamageTargetEffect( + CreaturesYouControlCount.instance + ).setText("deals X damage to target creature or planeswalker")); + this.getSpellAbility().addEffect(new GainLifeEffect( + CreaturesYouControlCount.instance, + "and you gain X life. [X is the number of creatures you control.]" + )); + this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker()); + this.getSpellAbility().addHint(CreaturesYouControlHint.instance); + } + + private LanternFlare(final LanternFlare card) { + super(card); + } + + @Override + public LanternFlare copy() { + return new LanternFlare(this); + } +} diff --git a/Mage.Sets/src/mage/sets/InnistradCrimsonVow.java b/Mage.Sets/src/mage/sets/InnistradCrimsonVow.java index fd6f702ae0..49190edb60 100644 --- a/Mage.Sets/src/mage/sets/InnistradCrimsonVow.java +++ b/Mage.Sets/src/mage/sets/InnistradCrimsonVow.java @@ -118,6 +118,7 @@ public final class InnistradCrimsonVow extends ExpansionSet { cards.add(new SetCardInfo("Lambholt Raconteur", 167, Rarity.UNCOMMON, mage.cards.l.LambholtRaconteur.class)); cards.add(new SetCardInfo("Lambholt Ravager", 167, Rarity.UNCOMMON, mage.cards.l.LambholtRavager.class)); cards.add(new SetCardInfo("Lantern Bearer", 66, Rarity.COMMON, mage.cards.l.LanternBearer.class)); + cards.add(new SetCardInfo("Lantern Flare", 23, Rarity.RARE, mage.cards.l.LanternFlare.class)); cards.add(new SetCardInfo("Lanterns' Lift", 66, Rarity.COMMON, mage.cards.l.LanternsLift.class)); cards.add(new SetCardInfo("Lunar Rejection", 67, Rarity.UNCOMMON, mage.cards.l.LunarRejection.class)); cards.add(new SetCardInfo("Manaform Hellkite", 170, Rarity.MYTHIC, mage.cards.m.ManaformHellkite.class));