diff --git a/Mage.Sets/src/mage/cards/a/AirMarshal.java b/Mage.Sets/src/mage/cards/a/AirMarshal.java new file mode 100644 index 0000000000..40aa252044 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/AirMarshal.java @@ -0,0 +1,47 @@ +package mage.cards.a; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.constants.SubType; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.FilterPermanent; +import mage.target.TargetPermanent; + +/** + * + * @author weirddan455 + */ +public final class AirMarshal extends CardImpl { + + private static final FilterPermanent filter = new FilterPermanent(SubType.SOLDIER, "Soldier"); + + public AirMarshal(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.SOLDIER); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // {3}: Target Soldier gains flying until end of turn. + Ability ability = new SimpleActivatedAbility(new GainAbilityTargetEffect(FlyingAbility.getInstance()), new GenericManaCost(3)); + ability.addTarget(new TargetPermanent(filter)); + this.addAbility(ability); + } + + private AirMarshal(final AirMarshal card) { + super(card); + } + + @Override + public AirMarshal copy() { + return new AirMarshal(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TheBrothersWar.java b/Mage.Sets/src/mage/sets/TheBrothersWar.java index 8f98d62e00..ca7fc46aba 100644 --- a/Mage.Sets/src/mage/sets/TheBrothersWar.java +++ b/Mage.Sets/src/mage/sets/TheBrothersWar.java @@ -26,6 +26,7 @@ public final class TheBrothersWar extends ExpansionSet { this.hasBoosters = false; // temporary cards.add(new SetCardInfo("Aeronaut Cavalry", 1, Rarity.COMMON, mage.cards.a.AeronautCavalry.class)); + cards.add(new SetCardInfo("Air Marshal", 43, Rarity.COMMON, mage.cards.a.AirMarshal.class)); cards.add(new SetCardInfo("Alloy Animist", 166, Rarity.UNCOMMON, mage.cards.a.AlloyAnimist.class)); cards.add(new SetCardInfo("Ambush Paratrooper", 3, Rarity.COMMON, mage.cards.a.AmbushParatrooper.class)); cards.add(new SetCardInfo("Arbalest Engineers", 206, Rarity.UNCOMMON, mage.cards.a.ArbalestEngineers.class));