diff --git a/Mage.Sets/src/mage/cards/s/SkyCycle.java b/Mage.Sets/src/mage/cards/s/SkyCycle.java new file mode 100644 index 000000000000..6a6f282bd8f8 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SkyCycle.java @@ -0,0 +1,63 @@ +package mage.cards.s; + +import java.util.UUID; +import mage.MageInt; +import mage.constants.SubType; +import mage.filter.common.FilterControlledPermanent; +import mage.target.common.TargetCreaturePermanent; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.dynamicvalue.DynamicValue; +import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.abilities.hint.Hint; +import mage.abilities.hint.ValueHint; +import mage.abilities.keyword.CrewAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +/** + * + * @author muz + */ +public final class SkyCycle extends CardImpl { + + private static final DynamicValue xValue = new PermanentsOnBattlefieldCount( + new FilterControlledPermanent(SubType.VEHICLE, "twice the number of Vehicles you control"), 2 + ); + + private static final Hint hint = new ValueHint( + "Vehicles you control", new PermanentsOnBattlefieldCount(new FilterControlledPermanent(SubType.VEHICLE)) + ); + + public SkyCycle(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}{R}"); + + this.subtype.add(SubType.VEHICLE); + this.power = new MageInt(4); + this.toughness = new MageInt(3); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // When this Vehicle enters, it deals X damage to up to one target creature, where X is twice the number of Vehicles you control. + Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(xValue)); + ability.addTarget(new TargetCreaturePermanent(0, 1)); + ability.addHint(hint); + this.addAbility(ability); + + // Crew 2 + this.addAbility(new CrewAbility(2)); + } + + private SkyCycle(final SkyCycle card) { + super(card); + } + + @Override + public SkyCycle copy() { + return new SkyCycle(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarvelSuperHeroesCommander.java b/Mage.Sets/src/mage/sets/MarvelSuperHeroesCommander.java index 6b576cc20e53..8a06ac49c8e4 100644 --- a/Mage.Sets/src/mage/sets/MarvelSuperHeroesCommander.java +++ b/Mage.Sets/src/mage/sets/MarvelSuperHeroesCommander.java @@ -495,6 +495,7 @@ private MarvelSuperHeroesCommander() { cards.add(new SetCardInfo("Sif's Spearmaster", 765, Rarity.COMMON, mage.cards.s.SifsSpearmaster.class)); cards.add(new SetCardInfo("Skullclamp", 210, Rarity.RARE, mage.cards.s.Skullclamp.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Skullclamp", 451, Rarity.RARE, mage.cards.s.Skullclamp.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Sky Cycle", 704, Rarity.UNCOMMON, mage.cards.s.SkyCycle.class)); cards.add(new SetCardInfo("Smashing Spree", 555, Rarity.COMMON, mage.cards.s.SmashingSpree.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Smashing Spree", 856, Rarity.COMMON, mage.cards.s.SmashingSpree.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Smoldering Marsh", 266, Rarity.RARE, mage.cards.s.SmolderingMarsh.class, NON_FULL_USE_VARIOUS));