Implemented Phell the Pheasant

This commit is contained in:
Evan Kranzler 2019-09-12 10:24:55 -04:00
parent 234ef0261b
commit fc2f2d4820
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
package mage.cards.f;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.mageobject.AbilityPredicate;
import mage.game.permanent.token.FoodToken;
import mage.target.TargetPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class FellThePheasant extends CardImpl {
private static final FilterPermanent filter = new FilterCreaturePermanent("creature with flying.");
static {
filter.add(new AbilityPredicate(FlyingAbility.class));
}
public FellThePheasant(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
// Fell the Pheasant deals 5 damage to target creature with flying. Create a Food token.
this.getSpellAbility().addEffect(new DamageTargetEffect(5));
this.getSpellAbility().addEffect(new CreateTokenEffect(new FoodToken()));
this.getSpellAbility().addTarget(new TargetPermanent(filter));
}
private FellThePheasant(final FellThePheasant card) {
super(card);
}
@Override
public FellThePheasant copy() {
return new FellThePheasant(this);
}
}

View file

@ -66,6 +66,7 @@ public final class ThroneOfEldraine extends ExpansionSet {
cards.add(new SetCardInfo("Faerie Guidemother", 11, Rarity.COMMON, mage.cards.f.FaerieGuidemother.class));
cards.add(new SetCardInfo("Faerie Vandal", 45, Rarity.UNCOMMON, mage.cards.f.FaerieVandal.class));
cards.add(new SetCardInfo("Feasting Troll King", 152, Rarity.RARE, mage.cards.f.FeastingTrollKing.class));
cards.add(new SetCardInfo("Fell the Pheasant", 153, Rarity.COMMON, mage.cards.f.FellThePheasant.class));
cards.add(new SetCardInfo("Fireborn Knight", 210, Rarity.UNCOMMON, mage.cards.f.FirebornKnight.class));
cards.add(new SetCardInfo("Flaxen Intruder", 155, Rarity.UNCOMMON, mage.cards.f.FlaxenIntruder.class));
cards.add(new SetCardInfo("Foulmire Knight", 90, Rarity.UNCOMMON, mage.cards.f.FoulmireKnight.class));

View file

@ -36075,6 +36075,7 @@ Fertile Footsteps|Throne of Eldraine|149|U|{2}{G}|Sorcery - Adventure|*|*|Search
Curious Pair|Throne of Eldraine|150|C|{1}{G}|Creature - Human Peasant|1|3||
Treats to Share|Throne of Eldraine|150|C|{G}|Sorcery - Adventure|1|3|Create a Food token.|
Feasting Troll King|Throne of Eldraine|152|R|{2}{G}{G}{G}{G}|Creature - Troll Noble|7|6|Vigilance, trample$When Feasting Troll King enters the battlefield, if you cast it from your hand, create three Food tokens.$Sacrifice three Foods: Return Feasting Troll King from your graveyard to the battlefield. Activate this ability only during your turn.|
Fell the Pheasant|Throne of Eldraine|153|C|{1}{G}|Instant|||Fell the Pheasant deals 5 damage to target creature with flying. Create a Food token.|
Flaxen Intruder|Throne of Eldraine|155|U|{G}|Creature - Human Berserker|1|2|Whenever Flaxen Intruder deals combat damage to a player, you may sacrifice it. When you do, destroy target artifact or enchantment.|
Welcome Home|Throne of Eldraine|155|U|{5}{G}{G}|Sorcery - Adventure|1|2|Create three 2/2 green Bear creature tokens.|
Garenbrig Paladin|Throne of Eldraine|157|C|{4}{G}|Creature - Giant Knight|4|4|Adamant — If at least three green mana was spent to cast this spell, Garenbrig Paladin enters the battlefield with a +1/+1 counter on it.$Garenbrig Paladin can't be blocked by creatures with power 2 or less.|