forked from External/mage
[MH3] Implement Trickster's Elk
This commit is contained in:
parent
933c5d0bd7
commit
58d18f142f
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/t/TrickstersElk.java
Normal file
47
Mage.Sets/src/mage/cards/t/TrickstersElk.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.BecomesCreatureAttachedEffect;
|
||||
import mage.abilities.keyword.BestowAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.custom.CreatureToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TrickstersElk extends CardImpl {
|
||||
|
||||
public TrickstersElk(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.ELK);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Bestow {1}{G}
|
||||
this.addAbility(new BestowAbility(this, "{1}{G}"));
|
||||
|
||||
// Enchanted creature loses all abilities and is a green Elk creature with base power and toughness 3/3.
|
||||
this.addAbility(new SimpleStaticAbility(new BecomesCreatureAttachedEffect(
|
||||
new CreatureToken(3, 3, "", SubType.ELK).withColor("G"),
|
||||
"Enchanted creature loses all abilities and is a green Elk creature with base power and toughness 3/3",
|
||||
Duration.WhileOnBattlefield, BecomesCreatureAttachedEffect.LoseType.ALL
|
||||
)));
|
||||
}
|
||||
|
||||
private TrickstersElk(final TrickstersElk card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TrickstersElk copy() {
|
||||
return new TrickstersElk(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -69,6 +69,7 @@ public final class ModernHorizons3 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Spawn-Gang Commander", 140, Rarity.UNCOMMON, mage.cards.s.SpawnGangCommander.class));
|
||||
cards.add(new SetCardInfo("Swamp", 306, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Sylvan Safekeeper", 287, Rarity.RARE, mage.cards.s.SylvanSafekeeper.class));
|
||||
cards.add(new SetCardInfo("Trickster's Elk", 175, Rarity.UNCOMMON, mage.cards.t.TrickstersElk.class));
|
||||
cards.add(new SetCardInfo("Ugin's Labyrinth", 233, Rarity.MYTHIC, mage.cards.u.UginsLabyrinth.class));
|
||||
cards.add(new SetCardInfo("Urza's Cave", 234, Rarity.UNCOMMON, mage.cards.u.UrzasCave.class));
|
||||
cards.add(new SetCardInfo("Wight of the Reliquary", 207, Rarity.RARE, mage.cards.w.WightOfTheReliquary.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue