diff --git a/Mage.Sets/src/mage/cards/r/RavenousSailback.java b/Mage.Sets/src/mage/cards/r/RavenousSailback.java new file mode 100644 index 0000000000..6da778fe1c --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RavenousSailback.java @@ -0,0 +1,53 @@ +package mage.cards.r; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.Mode; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.effects.common.continuous.GainAbilitySourceEffect; +import mage.abilities.keyword.HasteAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.filter.StaticFilters; +import mage.target.TargetPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class RavenousSailback extends CardImpl { + + public RavenousSailback(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}"); + + this.subtype.add(SubType.DINOSAUR); + this.power = new MageInt(3); + this.toughness = new MageInt(4); + + // When Ravenous Sailback enters the battlefield, choose one -- + // * Ravenous Sailback gains haste until end of turn. + Ability ability = new EntersBattlefieldTriggeredAbility( + new GainAbilitySourceEffect(HasteAbility.getInstance(), Duration.EndOfTurn) + ); + + // * Destroy target artifact or enchantment. + ability.addMode(new Mode(new DestroyTargetEffect()).addTarget( + new TargetPermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_OR_ENCHANTMENT) + )); + this.addAbility(ability); + } + + private RavenousSailback(final RavenousSailback card) { + super(card); + } + + @Override + public RavenousSailback copy() { + return new RavenousSailback(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java index b3c1313d6a..3cf4e87cbc 100644 --- a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java +++ b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java @@ -40,6 +40,7 @@ public final class MarchOfTheMachine extends ExpansionSet { cards.add(new SetCardInfo("Mountain", 280, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Negate", 68, Rarity.COMMON, mage.cards.n.Negate.class)); cards.add(new SetCardInfo("Plains", 277, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Ravenous Sailback", 202, Rarity.UNCOMMON, mage.cards.r.RavenousSailback.class)); cards.add(new SetCardInfo("Referee Squad", 327, Rarity.UNCOMMON, mage.cards.r.RefereeSquad.class)); cards.add(new SetCardInfo("Rugged Highlands", 271, Rarity.COMMON, mage.cards.r.RuggedHighlands.class)); cards.add(new SetCardInfo("Ruins Recluse", 336, Rarity.UNCOMMON, mage.cards.r.RuinsRecluse.class));