mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 04:09:54 -08:00
[ECL] Implement Feed the Flames
This commit is contained in:
parent
09f2cceff2
commit
e78806de08
2 changed files with 35 additions and 0 deletions
34
Mage.Sets/src/mage/cards/f/FeedTheFlames.java
Normal file
34
Mage.Sets/src/mage/cards/f/FeedTheFlames.java
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.ExileTargetIfDiesEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class FeedTheFlames extends CardImpl {
|
||||
|
||||
public FeedTheFlames(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}");
|
||||
|
||||
// Feed the Flames deals 5 damage to target creature. If that creature would die this turn, exile it instead.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(5));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addEffect(new ExileTargetIfDiesEffect());
|
||||
}
|
||||
|
||||
private FeedTheFlames(final FeedTheFlames card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FeedTheFlames copy() {
|
||||
return new FeedTheFlames(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -118,6 +118,7 @@ public final class LorwynEclipsed extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Enraged Flamecaster", 135, Rarity.COMMON, mage.cards.e.EnragedFlamecaster.class));
|
||||
cards.add(new SetCardInfo("Evolving Wilds", 264, Rarity.COMMON, mage.cards.e.EvolvingWilds.class));
|
||||
cards.add(new SetCardInfo("Explosive Prodigy", 136, Rarity.UNCOMMON, mage.cards.e.ExplosiveProdigy.class));
|
||||
cards.add(new SetCardInfo("Feed the Flames", 137, Rarity.COMMON, mage.cards.f.FeedTheFlames.class));
|
||||
cards.add(new SetCardInfo("Feisty Spikeling", 223, Rarity.COMMON, mage.cards.f.FeistySpikeling.class));
|
||||
cards.add(new SetCardInfo("Figure of Fable", 224, Rarity.RARE, mage.cards.f.FigureOfFable.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Figure of Fable", 372, Rarity.RARE, mage.cards.f.FigureOfFable.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue