diff --git a/Mage.Sets/src/mage/cards/h/HornedStoneseeker.java b/Mage.Sets/src/mage/cards/h/HornedStoneseeker.java new file mode 100644 index 00000000000..c617c65c950 --- /dev/null +++ b/Mage.Sets/src/mage/cards/h/HornedStoneseeker.java @@ -0,0 +1,50 @@ +package mage.cards.h; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.common.LeavesBattlefieldTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.SacrificeControllerEffect; +import mage.constants.SubType; +import mage.abilities.keyword.MenaceAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.FilterPermanent; +import mage.game.permanent.token.PowerstoneToken; + +/** + * + * @author weirddan455 + */ +public final class HornedStoneseeker extends CardImpl { + + private static final FilterPermanent filter = new FilterPermanent(SubType.POWERSTONE, "Powerstone"); + + public HornedStoneseeker(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}"); + + this.subtype.add(SubType.LIZARD); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // Menace + this.addAbility(new MenaceAbility()); + + // When Horned Stoneseeker enters the battlefield, create a tapped Powerstone token. + this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new PowerstoneToken(), 1, true))); + + // When Horned Stoneseeker leaves the battlefield, sacrifice a Powerstone. + this.addAbility(new LeavesBattlefieldTriggeredAbility(new SacrificeControllerEffect(filter, 1, null), false)); + } + + private HornedStoneseeker(final HornedStoneseeker card) { + super(card); + } + + @Override + public HornedStoneseeker copy() { + return new HornedStoneseeker(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TheBrothersWar.java b/Mage.Sets/src/mage/sets/TheBrothersWar.java index 7f31c7babbb..6e71f890691 100644 --- a/Mage.Sets/src/mage/sets/TheBrothersWar.java +++ b/Mage.Sets/src/mage/sets/TheBrothersWar.java @@ -101,6 +101,7 @@ public final class TheBrothersWar extends ExpansionSet { cards.add(new SetCardInfo("Heavyweight Demolisher", 160, Rarity.UNCOMMON, mage.cards.h.HeavyweightDemolisher.class)); cards.add(new SetCardInfo("Hero of the Dunes", 213, Rarity.UNCOMMON, mage.cards.h.HeroOfTheDunes.class)); cards.add(new SetCardInfo("Hoarding Recluse", 186, Rarity.COMMON, mage.cards.h.HoardingRecluse.class)); + cards.add(new SetCardInfo("Horned Stoneseeker", 138, Rarity.UNCOMMON, mage.cards.h.HornedStoneseeker.class)); cards.add(new SetCardInfo("Hurkyl's Final Meditation", 52, Rarity.RARE, mage.cards.h.HurkylsFinalMeditation.class)); cards.add(new SetCardInfo("Hurkyl, Master Wizard", 51, Rarity.RARE, mage.cards.h.HurkylMasterWizard.class)); cards.add(new SetCardInfo("In the Trenches", 8, Rarity.MYTHIC, mage.cards.i.InTheTrenches.class));