[SPM] Implement Hobgoblin, Mantled Marauder

This commit is contained in:
theelk801 2025-09-05 14:04:52 -04:00
parent 595e40850c
commit 76708eaa9f
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,50 @@
package mage.cards.h;
import mage.MageInt;
import mage.abilities.effects.common.DiscardCardControllerTriggeredAbility;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.HasteAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.SuperType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class HobgoblinMantledMarauder extends CardImpl {
public HobgoblinMantledMarauder(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.GOBLIN);
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.VILLAIN);
this.power = new MageInt(1);
this.toughness = new MageInt(2);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Haste
this.addAbility(HasteAbility.getInstance());
// Whenever you discard a card, Hobgoblin gets +2/+0 until end of turn.
this.addAbility(new DiscardCardControllerTriggeredAbility(new BoostSourceEffect(2, 0, Duration.EndOfTurn), false));
}
private HobgoblinMantledMarauder(final HobgoblinMantledMarauder card) {
super(card);
}
@Override
public HobgoblinMantledMarauder copy() {
return new HobgoblinMantledMarauder(this);
}
}

View file

@ -90,6 +90,7 @@ public final class MarvelsSpiderMan extends ExpansionSet {
cards.add(new SetCardInfo("Heroes' Hangout", 79, Rarity.UNCOMMON, mage.cards.h.HeroesHangout.class)); cards.add(new SetCardInfo("Heroes' Hangout", 79, Rarity.UNCOMMON, mage.cards.h.HeroesHangout.class));
cards.add(new SetCardInfo("Hide on the Ceiling", 249, Rarity.RARE, mage.cards.h.HideOnTheCeiling.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Hide on the Ceiling", 249, Rarity.RARE, mage.cards.h.HideOnTheCeiling.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Hide on the Ceiling", 32, Rarity.RARE, mage.cards.h.HideOnTheCeiling.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Hide on the Ceiling", 32, Rarity.RARE, mage.cards.h.HideOnTheCeiling.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Hobgoblin, Mantled Marauder", 80, Rarity.UNCOMMON, mage.cards.h.HobgoblinMantledMarauder.class));
cards.add(new SetCardInfo("Hot Dog Cart", 164, Rarity.COMMON, mage.cards.h.HotDogCart.class)); cards.add(new SetCardInfo("Hot Dog Cart", 164, Rarity.COMMON, mage.cards.h.HotDogCart.class));
cards.add(new SetCardInfo("Hydro-Man, Fluid Felon", 250, Rarity.RARE, mage.cards.h.HydroManFluidFelon.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Hydro-Man, Fluid Felon", 250, Rarity.RARE, mage.cards.h.HydroManFluidFelon.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Hydro-Man, Fluid Felon", 33, Rarity.RARE, mage.cards.h.HydroManFluidFelon.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Hydro-Man, Fluid Felon", 33, Rarity.RARE, mage.cards.h.HydroManFluidFelon.class, NON_FULL_USE_VARIOUS));