forked from External/mage
[DFT] Implement Gilded Ghoda
This commit is contained in:
parent
79573fa68b
commit
20090ff57e
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/g/GildedGhoda.java
Normal file
43
Mage.Sets/src/mage/cards/g/GildedGhoda.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksWhileSaddledTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.SaddleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.TreasureToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GildedGhoda extends CardImpl {
|
||||
|
||||
public GildedGhoda(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}");
|
||||
|
||||
this.subtype.add(SubType.HORSE);
|
||||
this.subtype.add(SubType.MOUNT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever this creature attacks while saddled, create a Treasure token.
|
||||
this.addAbility(new AttacksWhileSaddledTriggeredAbility(new CreateTokenEffect(new TreasureToken())));
|
||||
|
||||
// Saddle 1
|
||||
this.addAbility(new SaddleAbility(1));
|
||||
}
|
||||
|
||||
private GildedGhoda(final GildedGhoda card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GildedGhoda copy() {
|
||||
return new GildedGhoda(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -49,6 +49,7 @@ public final class Aetherdrift extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Endrider Catalyzer", 124, Rarity.COMMON, mage.cards.e.EndriderCatalyzer.class));
|
||||
cards.add(new SetCardInfo("Forest", 289, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Foul Roads", 255, Rarity.UNCOMMON, mage.cards.f.FoulRoads.class));
|
||||
cards.add(new SetCardInfo("Gilded Ghoda", 130, Rarity.COMMON, mage.cards.g.GildedGhoda.class));
|
||||
cards.add(new SetCardInfo("Hulldrifter", 47, Rarity.COMMON, mage.cards.h.Hulldrifter.class));
|
||||
cards.add(new SetCardInfo("Interface Ace", 17, Rarity.COMMON, mage.cards.i.InterfaceAce.class));
|
||||
cards.add(new SetCardInfo("Island", 280, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue