[DFT] Implement Haunted Hellride

This commit is contained in:
theelk801 2025-01-26 11:19:42 -05:00
parent 779f2bdea8
commit 6f173a2051
2 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,52 @@
package mage.cards.h;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.AttacksWithCreaturesTriggeredAbility;
import mage.abilities.effects.common.UntapTargetEffect;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import mage.abilities.keyword.CrewAbility;
import mage.abilities.keyword.DeathtouchAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.target.common.TargetControlledCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class HauntedHellride extends CardImpl {
public HauntedHellride(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}{U}{B}");
this.subtype.add(SubType.VEHICLE);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// Whenever you attack, target creature you control gets +1/+0 and gains deathtouch until end of turn. Untap it.
Ability ability = new AttacksWithCreaturesTriggeredAbility(new BoostTargetEffect(1, 0)
.setText("target creature you control gets +1/+0"), 1);
ability.addEffect(new GainAbilityTargetEffect(DeathtouchAbility.getInstance())
.setText("and gains deathtouch until end of turn"));
ability.addEffect(new UntapTargetEffect("untap it"));
ability.addTarget(new TargetControlledCreaturePermanent());
this.addAbility(ability);
// Crew 1
this.addAbility(new CrewAbility(1));
}
private HauntedHellride(final HauntedHellride card) {
super(card);
}
@Override
public HauntedHellride copy() {
return new HauntedHellride(this);
}
}

View file

@ -56,6 +56,7 @@ public final class Aetherdrift extends ExpansionSet {
cards.add(new SetCardInfo("Forest", 289, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Foul Roads", 255, Rarity.UNCOMMON, mage.cards.f.FoulRoads.class));
cards.add(new SetCardInfo("Gilded Ghoda", 130, Rarity.COMMON, mage.cards.g.GildedGhoda.class));
cards.add(new SetCardInfo("Haunted Hellride", 208, Rarity.UNCOMMON, mage.cards.h.HauntedHellride.class));
cards.add(new SetCardInfo("Hulldrifter", 47, Rarity.COMMON, mage.cards.h.Hulldrifter.class));
cards.add(new SetCardInfo("Interface Ace", 17, Rarity.COMMON, mage.cards.i.InterfaceAce.class));
cards.add(new SetCardInfo("Island", 280, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));