[DFT] Implement Racers' Scoreboard

This commit is contained in:
theelk801 2025-01-31 13:59:47 -05:00
parent ac27572195
commit 462a4a0b2d
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,45 @@
package mage.cards.r;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.common.MaxSpeedAbility;
import mage.abilities.effects.common.DrawDiscardControllerEffect;
import mage.abilities.effects.common.cost.SpellsCostReductionControllerEffect;
import mage.abilities.keyword.StartYourEnginesAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.FilterCard;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class RacersScoreboard extends CardImpl {
private static final FilterCard filter = new FilterCard("spells");
public RacersScoreboard(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
// Start your engines!
this.addAbility(new StartYourEnginesAbility());
// When this artifact enters, draw two cards, then discard a card.
this.addAbility(new EntersBattlefieldTriggeredAbility(
new DrawDiscardControllerEffect(2, 1)
));
// Max speed -- Spells you cast cost {1} less to cast.
this.addAbility(new MaxSpeedAbility(new SpellsCostReductionControllerEffect(filter, 1)));
}
private RacersScoreboard(final RacersScoreboard card) {
super(card);
}
@Override
public RacersScoreboard copy() {
return new RacersScoreboard(this);
}
}

View file

@ -119,6 +119,7 @@ public final class Aetherdrift extends ExpansionSet {
cards.add(new SetCardInfo("Prowcatcher Specialist", 142, Rarity.COMMON, mage.cards.p.ProwcatcherSpecialist.class));
cards.add(new SetCardInfo("Pyrewood Gearhulk", 216, Rarity.MYTHIC, mage.cards.p.PyrewoodGearhulk.class));
cards.add(new SetCardInfo("Quag Feast", 100, Rarity.RARE, mage.cards.q.QuagFeast.class));
cards.add(new SetCardInfo("Racers' Scoreboard", 239, Rarity.UNCOMMON, mage.cards.r.RacersScoreboard.class));
cards.add(new SetCardInfo("Rangers' Refueler", 55, Rarity.UNCOMMON, mage.cards.r.RangersRefueler.class));
cards.add(new SetCardInfo("Reef Roads", 259, Rarity.UNCOMMON, mage.cards.r.ReefRoads.class));
cards.add(new SetCardInfo("Regal Imperiosaur", 177, Rarity.RARE, mage.cards.r.RegalImperiosaur.class));