mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[BRO] Implemented Horned Stoneseeker
This commit is contained in:
parent
290ec1b8c6
commit
d312f339e9
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/h/HornedStoneseeker.java
Normal file
50
Mage.Sets/src/mage/cards/h/HornedStoneseeker.java
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue