forked from External/mage
[WOE] Implement Sleep-Cursed Faerie
This commit is contained in:
parent
4845a4aa8d
commit
ec0ecfca0e
3 changed files with 61 additions and 1 deletions
59
Mage.Sets/src/mage/cards/s/SleepCursedFaerie.java
Normal file
59
Mage.Sets/src/mage/cards/s/SleepCursedFaerie.java
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.TapSourceEffect;
|
||||
import mage.abilities.effects.common.UntapSourceEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.WardAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SleepCursedFaerie extends CardImpl {
|
||||
|
||||
public SleepCursedFaerie(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}");
|
||||
|
||||
this.subtype.add(SubType.FAERIE);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Ward {2}
|
||||
this.addAbility(new WardAbility(new ManaCostsImpl<>("{2}")));
|
||||
|
||||
// Sleep-Cursed Faerie enters the battlefield tapped with three stun counters on it.
|
||||
Ability ability = new EntersBattlefieldAbility(
|
||||
new TapSourceEffect(true), "tapped with three stun counters on it"
|
||||
);
|
||||
ability.addEffect(new AddCountersSourceEffect(CounterType.STUN.createInstance(3)));
|
||||
this.addAbility(ability);
|
||||
|
||||
// {1}{U}: Untap Sleep-Cursed Faerie.
|
||||
this.addAbility(new SimpleActivatedAbility(new UntapSourceEffect(), new ManaCostsImpl<>("{1}{U}")));
|
||||
}
|
||||
|
||||
private SleepCursedFaerie(final SleepCursedFaerie card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SleepCursedFaerie copy() {
|
||||
return new SleepCursedFaerie(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -41,7 +41,7 @@ public final class SteelDromedary extends CardImpl {
|
|||
|
||||
// Steel Dromedary enters the battlefield tapped with two +1/+1 counters on it.
|
||||
Ability ability = new EntersBattlefieldAbility(
|
||||
new TapSourceEffect(), "tapped with two +1/+1 counters on it"
|
||||
new TapSourceEffect(true), "tapped with two +1/+1 counters on it"
|
||||
);
|
||||
ability.addEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)));
|
||||
this.addAbility(ability);
|
||||
|
|
|
|||
|
|
@ -142,6 +142,7 @@ public final class WildsOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Sharae of Numbing Depths", 213, Rarity.UNCOMMON, mage.cards.s.SharaeOfNumbingDepths.class));
|
||||
cards.add(new SetCardInfo("Shrouded Shepherd", 236, Rarity.UNCOMMON, mage.cards.s.ShroudedShepherd.class));
|
||||
cards.add(new SetCardInfo("Skybeast Tracker", 185, Rarity.COMMON, mage.cards.s.SkybeastTracker.class));
|
||||
cards.add(new SetCardInfo("Sleep-Cursed Faerie", 66, Rarity.RARE, mage.cards.s.SleepCursedFaerie.class));
|
||||
cards.add(new SetCardInfo("Sleight of Hand", 67, Rarity.COMMON, mage.cards.s.SleightOfHand.class));
|
||||
cards.add(new SetCardInfo("Snaremaster Sprite", 68, Rarity.COMMON, mage.cards.s.SnaremasterSprite.class));
|
||||
cards.add(new SetCardInfo("Solitary Sanctuary", 30, Rarity.UNCOMMON, mage.cards.s.SolitarySanctuary.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue