[J25] Implement Hinterland Sanctifier

This commit is contained in:
theelk801 2024-10-30 16:07:08 -04:00
parent 0e4730ca20
commit 40e99dfc1f
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,41 @@
package mage.cards.h;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldAllTriggeredAbility;
import mage.abilities.effects.common.GainLifeEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class HinterlandSanctifier extends CardImpl {
public HinterlandSanctifier(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}");
this.subtype.add(SubType.RABBIT);
this.subtype.add(SubType.CLERIC);
this.power = new MageInt(1);
this.toughness = new MageInt(2);
// Whenever another creature you control enters, you gain 1 life.
this.addAbility(new EntersBattlefieldAllTriggeredAbility(
new GainLifeEffect(1), StaticFilters.FILTER_ANOTHER_CREATURE_YOU_CONTROL
));
}
private HinterlandSanctifier(final HinterlandSanctifier card) {
super(card);
}
@Override
public HinterlandSanctifier copy() {
return new HinterlandSanctifier(this);
}
}

View file

@ -338,6 +338,7 @@ public final class FoundationsJumpstart extends ExpansionSet {
cards.add(new SetCardInfo("Hero of the Games", 563, Rarity.COMMON, mage.cards.h.HeroOfTheGames.class));
cards.add(new SetCardInfo("Hexgold Hoverwings", 208, Rarity.UNCOMMON, mage.cards.h.HexgoldHoverwings.class));
cards.add(new SetCardInfo("High-Rise Sawjack", 670, Rarity.COMMON, mage.cards.h.HighRiseSawjack.class));
cards.add(new SetCardInfo("Hinterland Sanctifier", 5, Rarity.COMMON, mage.cards.h.HinterlandSanctifier.class));
cards.add(new SetCardInfo("Hooded Blightfang", 455, Rarity.RARE, mage.cards.h.HoodedBlightfang.class));
cards.add(new SetCardInfo("Howling Banshee", 119, Rarity.UNCOMMON, mage.cards.h.HowlingBanshee.class));
cards.add(new SetCardInfo("Hungry Megasloth", 21, Rarity.UNCOMMON, mage.cards.h.HungryMegasloth.class));