[SNC] Implemented Botanical Plaza

This commit is contained in:
Evan Kranzler 2022-04-07 20:19:58 -04:00
parent df67f8f519
commit 060b6472f6
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,50 @@
package mage.cards.b;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTappedAbility;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.SacrificeSourceCost;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.mana.GreenManaAbility;
import mage.abilities.mana.WhiteManaAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class BotanicalPlaza extends CardImpl {
public BotanicalPlaza(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
// Botanical Plaza enters the battlefield tapped.
this.addAbility(new EntersBattlefieldTappedAbility());
// {T}: Add {G} or {W}.
this.addAbility(new GreenManaAbility());
this.addAbility(new WhiteManaAbility());
// {2}{G}{W}, {T}, Sacrifice Botanical Plaza: Draw a card.
Ability ability = new SimpleActivatedAbility(
new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{2}{G}{W}")
);
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
this.addAbility(ability);
}
private BotanicalPlaza(final BotanicalPlaza card) {
super(card);
}
@Override
public BotanicalPlaza copy() {
return new BotanicalPlaza(this);
}
}

View file

@ -21,6 +21,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
this.hasBoosters = true;
this.hasBasicLands = true;
cards.add(new SetCardInfo("Botanical Plaza", 350, Rarity.COMMON, mage.cards.b.BotanicalPlaza.class));
cards.add(new SetCardInfo("Brokers Ascendancy", 170, Rarity.RARE, mage.cards.b.BrokersAscendancy.class));
cards.add(new SetCardInfo("Brokers Charm", 171, Rarity.UNCOMMON, mage.cards.b.BrokersCharm.class));
cards.add(new SetCardInfo("Cabaretti Charm", 173, Rarity.UNCOMMON, mage.cards.c.CabarettiCharm.class));