[DFT] Implement Night Market

This commit is contained in:
theelk801 2025-01-23 12:05:12 -05:00
parent 7d05b8e193
commit 60eb9f4375
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.n;
import mage.abilities.common.EntersBattlefieldTappedAsItEntersChooseColorAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.mana.AddManaChosenColorEffect;
import mage.abilities.keyword.CyclingAbility;
import mage.abilities.mana.SimpleManaAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Zone;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class NightMarket extends CardImpl {
public NightMarket(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
// This land enters tapped. As it enters, choose a color.
this.addAbility(new EntersBattlefieldTappedAsItEntersChooseColorAbility());
// {T}: Add one mana of the chosen color.
this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaChosenColorEffect(), new TapSourceCost()));
// Cycling {3}
this.addAbility(new CyclingAbility(new ManaCostsImpl<>("{3}")));
}
private NightMarket(final NightMarket card) {
super(card);
}
@Override
public NightMarket copy() {
return new NightMarket(this);
}
}

View file

@ -39,6 +39,7 @@ public final class Aetherdrift extends ExpansionSet {
cards.add(new SetCardInfo("Lagorin, Soul of Alacria", 211, Rarity.UNCOMMON, mage.cards.l.LagorinSoulOfAlacria.class));
cards.add(new SetCardInfo("Lightshield Parry", 19, Rarity.COMMON, mage.cards.l.LightshieldParry.class));
cards.add(new SetCardInfo("Mountain", 286, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Night Market", 258, Rarity.COMMON, mage.cards.n.NightMarket.class));
cards.add(new SetCardInfo("Plains", 272, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Prowcatcher Specialist", 142, Rarity.COMMON, mage.cards.p.ProwcatcherSpecialist.class));
cards.add(new SetCardInfo("Riverpyre Verge", 260, Rarity.RARE, mage.cards.r.RiverpyreVerge.class));