mirror of
https://github.com/correl/mage.git
synced 2024-12-28 11:14:13 +00:00
[VOW] Implemented Lantern Flare
This commit is contained in:
parent
3c6eaf0965
commit
fbb15a84c6
2 changed files with 54 additions and 0 deletions
53
Mage.Sets/src/mage/cards/l/LanternFlare.java
Normal file
53
Mage.Sets/src/mage/cards/l/LanternFlare.java
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue