From 126953f1d83c1f05a711562610c978e5be74cb07 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 4 Mar 2022 06:48:12 -0500 Subject: [PATCH] [SNC] Implemented Spara's Headquarters --- .../src/mage/cards/s/SparasHeadquarters.java | 48 +++++++++++++++++++ .../src/mage/sets/StreetsOfNewCapenna.java | 1 + 2 files changed, 49 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/SparasHeadquarters.java diff --git a/Mage.Sets/src/mage/cards/s/SparasHeadquarters.java b/Mage.Sets/src/mage/cards/s/SparasHeadquarters.java new file mode 100644 index 0000000000..445d1fb86f --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SparasHeadquarters.java @@ -0,0 +1,48 @@ +package mage.cards.s; + +import mage.abilities.common.EntersBattlefieldTappedAbility; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.keyword.CyclingAbility; +import mage.abilities.mana.BlueManaAbility; +import mage.abilities.mana.GreenManaAbility; +import mage.abilities.mana.WhiteManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SparasHeadquarters extends CardImpl { + + public SparasHeadquarters(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); + + this.subtype.add(SubType.FOREST); + this.subtype.add(SubType.PLAINS); + this.subtype.add(SubType.ISLAND); + + // ({T}: Add {G}, {W}, or {U}.) + this.addAbility(new GreenManaAbility()); + this.addAbility(new WhiteManaAbility()); + this.addAbility(new BlueManaAbility()); + + // Spara's Headquarters enters the battlefield tapped. + this.addAbility(new EntersBattlefieldTappedAbility()); + + // Cycling {3} + this.addAbility(new CyclingAbility(new GenericManaCost(3))); + } + + private SparasHeadquarters(final SparasHeadquarters card) { + super(card); + } + + @Override + public SparasHeadquarters copy() { + return new SparasHeadquarters(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java index a490c45c0b..874835d7f8 100644 --- a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java +++ b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java @@ -27,6 +27,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet { cards.add(new SetCardInfo("Mountain", 278, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Plains", 272, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Raffine's Tower", 254, Rarity.RARE, mage.cards.r.RaffinesTower.class)); + cards.add(new SetCardInfo("Spara's Headquarters", 257, Rarity.RARE, mage.cards.s.SparasHeadquarters.class)); cards.add(new SetCardInfo("Swamp", 276, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Xander's Lounge", 260, Rarity.RARE, mage.cards.x.XandersLounge.class)); cards.add(new SetCardInfo("Ziatora's Proving Ground", 261, Rarity.RARE, mage.cards.z.ZiatorasProvingGround.class));