diff --git a/Mage.Sets/src/mage/cards/s/SteelPlumeMarshal.java b/Mage.Sets/src/mage/cards/s/SteelPlumeMarshal.java new file mode 100644 index 0000000000..0bb3a3dcc3 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SteelPlumeMarshal.java @@ -0,0 +1,58 @@ +package mage.cards.s; + +import mage.MageInt; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.effects.common.continuous.BoostAllEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.constants.TargetController; +import mage.filter.common.FilterCreaturePermanent; +import mage.filter.predicate.mageobject.AbilityPredicate; +import mage.filter.predicate.permanent.AttackingPredicate; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SteelPlumeMarshal extends CardImpl { + + private static final FilterCreaturePermanent filter + = new FilterCreaturePermanent("attacking creatures you control with flying"); + + static { + filter.add(AttackingPredicate.instance); + filter.add(new AbilityPredicate(FlyingAbility.class)); + filter.add(TargetController.YOU.getControllerPredicate()); + } + + public SteelPlumeMarshal(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}{W}"); + + this.subtype.add(SubType.BIRD); + this.subtype.add(SubType.SOLDIER); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // Whenever Steel-Plume Marshal attacks, other attacking creatures you control with flying get +2/+2 until end of turn. + this.addAbility(new AttacksTriggeredAbility(new BoostAllEffect( + 2, 2, Duration.EndOfTurn, filter, true + ), false)); + } + + private SteelPlumeMarshal(final SteelPlumeMarshal card) { + super(card); + } + + @Override + public SteelPlumeMarshal copy() { + return new SteelPlumeMarshal(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Jumpstart.java b/Mage.Sets/src/mage/sets/Jumpstart.java index b38db8550d..cedf51fe57 100644 --- a/Mage.Sets/src/mage/sets/Jumpstart.java +++ b/Mage.Sets/src/mage/sets/Jumpstart.java @@ -396,6 +396,7 @@ public final class Jumpstart extends ExpansionSet { cards.add(new SetCardInfo("Spitting Earth", 364, Rarity.COMMON, mage.cards.s.SpittingEarth.class)); cards.add(new SetCardInfo("Sporemound", 433, Rarity.COMMON, mage.cards.s.Sporemound.class)); cards.add(new SetCardInfo("Stab Wound", 281, Rarity.UNCOMMON, mage.cards.s.StabWound.class)); + cards.add(new SetCardInfo("Steel-Plume Marshal", 5, Rarity.RARE, mage.cards.s.SteelPlumeMarshal.class)); cards.add(new SetCardInfo("Stone Haven Pilgrim", 6, Rarity.UNCOMMON, mage.cards.s.StoneHavenPilgrim.class)); cards.add(new SetCardInfo("Storm Sculptor", 179, Rarity.COMMON, mage.cards.s.StormSculptor.class)); cards.add(new SetCardInfo("Supply Runners", 7, Rarity.UNCOMMON, mage.cards.s.SupplyRunners.class));