forked from External/mage
[FDN] Implement Eager Trufflesnout
This commit is contained in:
parent
34426f7075
commit
b7087843b6
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/e/EagerTrufflesnout.java
Normal file
42
Mage.Sets/src/mage/cards/e/EagerTrufflesnout.java
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.FoodToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EagerTrufflesnout extends CardImpl {
|
||||
|
||||
public EagerTrufflesnout(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.BOAR);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// Whenever this creature deals combat damage to a player, create a Food token.
|
||||
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new CreateTokenEffect(new FoodToken())));
|
||||
}
|
||||
|
||||
private EagerTrufflesnout(final EagerTrufflesnout card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EagerTrufflesnout copy() {
|
||||
return new EagerTrufflesnout(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -117,6 +117,7 @@ public final class Foundations extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Duress", 606, Rarity.COMMON, mage.cards.d.Duress.class));
|
||||
cards.add(new SetCardInfo("Dwynen's Elite", 218, Rarity.COMMON, mage.cards.d.DwynensElite.class));
|
||||
cards.add(new SetCardInfo("Dwynen, Gilt-Leaf Daen", 217, Rarity.UNCOMMON, mage.cards.d.DwynenGiltLeafDaen.class));
|
||||
cards.add(new SetCardInfo("Eager Trufflesnout", 102, Rarity.UNCOMMON, mage.cards.e.EagerTrufflesnout.class));
|
||||
cards.add(new SetCardInfo("Eaten Alive", 172, Rarity.COMMON, mage.cards.e.EatenAlive.class));
|
||||
cards.add(new SetCardInfo("Eaten by Piranhas", 507, Rarity.UNCOMMON, mage.cards.e.EatenByPiranhas.class));
|
||||
cards.add(new SetCardInfo("Elspeth's Smite", 493, Rarity.UNCOMMON, mage.cards.e.ElspethsSmite.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue