forked from External/mage
[MKM] Implement Gleaming Geardrake
This commit is contained in:
parent
1628ecbdd7
commit
dec5e0598c
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/g/GleamingGeardrake.java
Normal file
50
Mage.Sets/src/mage/cards/g/GleamingGeardrake.java
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SacrificePermanentTriggeredAbility;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.effects.keyword.InvestigateEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GleamingGeardrake extends CardImpl {
|
||||
|
||||
public GleamingGeardrake(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{U}{R}");
|
||||
|
||||
this.subtype.add(SubType.DRAKE);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// When Gleaming Geardrake enters the battlefield, investigate.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new InvestigateEffect()));
|
||||
|
||||
// Whenever you sacrifice an artifact, put a +1/+1 counter on Gleaming Geardrake.
|
||||
this.addAbility(new SacrificePermanentTriggeredAbility(
|
||||
new AddCountersSourceEffect(CounterType.P1P1.createInstance()), StaticFilters.FILTER_PERMANENT_ARTIFACT_AN
|
||||
));
|
||||
}
|
||||
|
||||
private GleamingGeardrake(final GleamingGeardrake card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GleamingGeardrake copy() {
|
||||
return new GleamingGeardrake(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -23,6 +23,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
|
|||
|
||||
cards.add(new SetCardInfo("Fanatical Strength", 159, Rarity.COMMON, mage.cards.f.FanaticalStrength.class));
|
||||
cards.add(new SetCardInfo("Forest", 276, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Gleaming Geardrake", 205, Rarity.UNCOMMON, mage.cards.g.GleamingGeardrake.class));
|
||||
cards.add(new SetCardInfo("Island", 273, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Lightning Helix", 218, Rarity.UNCOMMON, mage.cards.l.LightningHelix.class));
|
||||
cards.add(new SetCardInfo("Magnifying Glass", 255, Rarity.COMMON, mage.cards.m.MagnifyingGlass.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue