mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
Implemented Faerie Guidemother
This commit is contained in:
parent
c60b56b2a1
commit
c870f32b31
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/f/FaerieGuidemother.java
Normal file
50
Mage.Sets/src/mage/cards/f/FaerieGuidemother.java
Normal file
|
@ -0,0 +1,50 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.AdventureCard;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class FaerieGuidemother extends AdventureCard {
|
||||
|
||||
public FaerieGuidemother(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.SORCERY}, "{W}", "Gift of the Fae", "{1}{W}");
|
||||
|
||||
this.subtype.add(SubType.FAERIE);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Gift of the Fae
|
||||
// Target creature gets +2/+1 and gains flying until end of turn.
|
||||
this.getAdventureSpellAbility().addEffect(new BoostTargetEffect(
|
||||
2, 1, Duration.EndOfTurn
|
||||
).setText("Target creature gets +2/+1"));
|
||||
this.getAdventureSpellAbility().addEffect(new GainAbilityTargetEffect(
|
||||
FlyingAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and gains flying until end of turn"));
|
||||
this.getAdventureSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
private FaerieGuidemother(final FaerieGuidemother card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FaerieGuidemother copy() {
|
||||
return new FaerieGuidemother(this);
|
||||
}
|
||||
}
|
|
@ -52,6 +52,7 @@ public final class ThroneOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Enchanted Carriage", 218, Rarity.UNCOMMON, mage.cards.e.EnchantedCarriage.class));
|
||||
cards.add(new SetCardInfo("Eye Collector", 86, Rarity.COMMON, mage.cards.e.EyeCollector.class));
|
||||
cards.add(new SetCardInfo("Faerie Formation", 316, Rarity.RARE, mage.cards.f.FaerieFormation.class));
|
||||
cards.add(new SetCardInfo("Faerie Guidemother", 11, Rarity.COMMON, mage.cards.f.FaerieGuidemother.class));
|
||||
cards.add(new SetCardInfo("Faerie Vandal", 45, Rarity.UNCOMMON, mage.cards.f.FaerieVandal.class));
|
||||
cards.add(new SetCardInfo("Fireborn Knight", 210, Rarity.UNCOMMON, mage.cards.f.FirebornKnight.class));
|
||||
cards.add(new SetCardInfo("Flaxen Intruder", 155, Rarity.UNCOMMON, mage.cards.f.FlaxenIntruder.class));
|
||||
|
|
Loading…
Reference in a new issue