[MH3] Implement Molten Gatekeeper

This commit is contained in:
theelk801 2024-05-30 13:24:27 -04:00
parent 5122ae3e4e
commit 1e116704e1
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,46 @@
package mage.cards.m;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DamagePlayersEffect;
import mage.abilities.keyword.UnearthAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.TargetController;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class MoltenGatekeeper extends CardImpl {
public MoltenGatekeeper(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}{R}");
this.subtype.add(SubType.GOLEM);
this.power = new MageInt(2);
this.toughness = new MageInt(3);
// Whenever another creature enters the battlefield under your control, Molten Gatekeeper deals 1 damage to each opponent.
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
new DamagePlayersEffect(1, TargetController.OPPONENT), StaticFilters.FILTER_ANOTHER_CREATURE
));
// Unearth {R}
this.addAbility(new UnearthAbility(new ManaCostsImpl<>("{R}")));
}
private MoltenGatekeeper(final MoltenGatekeeper card) {
super(card);
}
@Override
public MoltenGatekeeper copy() {
return new MoltenGatekeeper(this);
}
}

View file

@ -145,6 +145,7 @@ public final class ModernHorizons3 extends ExpansionSet {
cards.add(new SetCardInfo("Meteoric Mace", 283, Rarity.UNCOMMON, mage.cards.m.MeteoricMace.class));
cards.add(new SetCardInfo("Mindless Conscription", 101, Rarity.UNCOMMON, mage.cards.m.MindlessConscription.class));
cards.add(new SetCardInfo("Mogg Mob", 127, Rarity.UNCOMMON, mage.cards.m.MoggMob.class));
cards.add(new SetCardInfo("Molten Gatekeeper", 128, Rarity.COMMON, mage.cards.m.MoltenGatekeeper.class));
cards.add(new SetCardInfo("Monstrous Vortex", 162, Rarity.UNCOMMON, mage.cards.m.MonstrousVortex.class));
cards.add(new SetCardInfo("Mountain", 307, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Nadier's Nightblade", 275, Rarity.UNCOMMON, mage.cards.n.NadiersNightblade.class));