mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08:00
[CMM] Implement Ondu Spiritdancer
This commit is contained in:
parent
8dd583fbe0
commit
f5fbfe012b
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/o/OnduSpiritdancer.java
Normal file
44
Mage.Sets/src/mage/cards/o/OnduSpiritdancer.java
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.o;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenCopyTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SetTargetPointer;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class OnduSpiritdancer extends CardImpl {
|
||||
|
||||
public OnduSpiritdancer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{W}");
|
||||
|
||||
this.subtype.add(SubType.KOR);
|
||||
this.subtype.add(SubType.CLERIC);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Whenever an enchantment enters the battlefield under your control, you may create a token that's a copy of it. Do this only once each turn.
|
||||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
Zone.BATTLEFIELD, new CreateTokenCopyTargetEffect().setText("create a token that's a copy of it"),
|
||||
StaticFilters.FILTER_PERMANENT_ENCHANTMENT, true, SetTargetPointer.PERMANENT, null
|
||||
).setDoOnlyOnceEachTurn(true));
|
||||
}
|
||||
|
||||
private OnduSpiritdancer(final OnduSpiritdancer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OnduSpiritdancer copy() {
|
||||
return new OnduSpiritdancer(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -305,6 +305,7 @@ public final class CommanderMasters extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Omen of the Hunt", 906, Rarity.COMMON, mage.cards.o.OmenOfTheHunt.class));
|
||||
cards.add(new SetCardInfo("Omen of the Sun", 831, Rarity.COMMON, mage.cards.o.OmenOfTheSun.class));
|
||||
cards.add(new SetCardInfo("Omnath, Locus of Mana", 310, Rarity.MYTHIC, mage.cards.o.OmnathLocusOfMana.class));
|
||||
cards.add(new SetCardInfo("Ondu Spiritdancer", 723, Rarity.RARE, mage.cards.o.OnduSpiritdancer.class));
|
||||
cards.add(new SetCardInfo("Opulent Palace", 1017, Rarity.UNCOMMON, mage.cards.o.OpulentPalace.class));
|
||||
cards.add(new SetCardInfo("Oreskos Explorer", 832, Rarity.UNCOMMON, mage.cards.o.OreskosExplorer.class));
|
||||
cards.add(new SetCardInfo("Ornithopter of Paradise", 966, Rarity.COMMON, mage.cards.o.OrnithopterOfParadise.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue