diff --git a/Mage.Sets/src/mage/cards/r/RocketeerBoostbuggy.java b/Mage.Sets/src/mage/cards/r/RocketeerBoostbuggy.java new file mode 100644 index 00000000000..0e9905334ea --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RocketeerBoostbuggy.java @@ -0,0 +1,57 @@ +package mage.cards.r; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.continuous.AddCardTypeSourceEffect; +import mage.abilities.effects.common.counter.AddCountersSourceEffect; +import mage.abilities.keyword.CrewAbility; +import mage.abilities.keyword.ExhaustAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.counters.CounterType; +import mage.game.permanent.token.TreasureToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class RocketeerBoostbuggy extends CardImpl { + + public RocketeerBoostbuggy(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{R}{G}"); + + this.subtype.add(SubType.VEHICLE); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // Whenever this Vehicle attacks, create a Treasure token. + this.addAbility(new AttacksTriggeredAbility(new CreateTokenEffect(new TreasureToken()))); + + // Exhaust -- {3}: This Vehicle becomes an artifact creature. Put a +1/+1 counter on it. + Ability ability = new ExhaustAbility(new AddCardTypeSourceEffect( + Duration.Custom, CardType.ARTIFACT, CardType.CREATURE + ), new GenericManaCost(3)); + ability.addEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance()) + .setText("Put a +1/+1 counter on it")); + this.addAbility(ability); + + // Crew 1 + this.addAbility(new CrewAbility(1)); + } + + private RocketeerBoostbuggy(final RocketeerBoostbuggy card) { + super(card); + } + + @Override + public RocketeerBoostbuggy copy() { + return new RocketeerBoostbuggy(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Aetherdrift.java b/Mage.Sets/src/mage/sets/Aetherdrift.java index ac8e38fd80f..9db2ef7ebfe 100644 --- a/Mage.Sets/src/mage/sets/Aetherdrift.java +++ b/Mage.Sets/src/mage/sets/Aetherdrift.java @@ -41,6 +41,7 @@ public final class Aetherdrift extends ExpansionSet { cards.add(new SetCardInfo("Plains", 272, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Prowcatcher Specialist", 142, Rarity.COMMON, mage.cards.p.ProwcatcherSpecialist.class)); cards.add(new SetCardInfo("Riverpyre Verge", 260, Rarity.RARE, mage.cards.r.RiverpyreVerge.class)); + cards.add(new SetCardInfo("Rocketeer Boostbuggy", 220, Rarity.UNCOMMON, mage.cards.r.RocketeerBoostbuggy.class)); cards.add(new SetCardInfo("Rugged Highlands", 262, Rarity.COMMON, mage.cards.r.RuggedHighlands.class)); cards.add(new SetCardInfo("Scoured Barrens", 263, Rarity.COMMON, mage.cards.s.ScouredBarrens.class)); cards.add(new SetCardInfo("Sunbillow Verge", 264, Rarity.RARE, mage.cards.s.SunbillowVerge.class));