From 8fbca400e28165a2e1ea882aaf58bbf00eac430a Mon Sep 17 00:00:00 2001 From: theelk801 Date: Wed, 17 Jul 2024 14:19:03 -0400 Subject: [PATCH] [BLB] Implement Spellgyre --- Mage.Sets/src/mage/cards/s/Spellgyre.java | 40 +++++++++++++++++++++++ Mage.Sets/src/mage/sets/Bloomburrow.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 42 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/Spellgyre.java diff --git a/Mage.Sets/src/mage/cards/s/Spellgyre.java b/Mage.Sets/src/mage/cards/s/Spellgyre.java new file mode 100644 index 00000000000..5a99c5e960e --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/Spellgyre.java @@ -0,0 +1,40 @@ +package mage.cards.s; + +import mage.abilities.Mode; +import mage.abilities.effects.common.CounterTargetEffect; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.keyword.SurveilEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.TargetSpell; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class Spellgyre extends CardImpl { + + public Spellgyre(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}{U}"); + + // Choose one -- + // * Counter target spell. + this.getSpellAbility().addEffect(new CounterTargetEffect()); + this.getSpellAbility().addTarget(new TargetSpell()); + + // * Surveil 2, then draw two cards. + this.getSpellAbility().addMode(new Mode(new SurveilEffect(2)) + .addEffect(new DrawCardSourceControllerEffect(2).concatBy(", then"))); + } + + private Spellgyre(final Spellgyre card) { + super(card); + } + + @Override + public Spellgyre copy() { + return new Spellgyre(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Bloomburrow.java b/Mage.Sets/src/mage/sets/Bloomburrow.java index abfe64f854b..1578392236c 100644 --- a/Mage.Sets/src/mage/sets/Bloomburrow.java +++ b/Mage.Sets/src/mage/sets/Bloomburrow.java @@ -140,6 +140,7 @@ public final class Bloomburrow extends ExpansionSet { cards.add(new SetCardInfo("Shoreline Looter", 70, Rarity.UNCOMMON, mage.cards.s.ShorelineLooter.class)); cards.add(new SetCardInfo("Shrike Force", 31, Rarity.UNCOMMON, mage.cards.s.ShrikeForce.class)); cards.add(new SetCardInfo("Sinister Monolith", 113, Rarity.UNCOMMON, mage.cards.s.SinisterMonolith.class)); + cards.add(new SetCardInfo("Spellgyre", 72, Rarity.UNCOMMON, mage.cards.s.Spellgyre.class)); cards.add(new SetCardInfo("Splash Lasher", 73, Rarity.UNCOMMON, mage.cards.s.SplashLasher.class)); cards.add(new SetCardInfo("Star Charter", 33, Rarity.UNCOMMON, mage.cards.s.StarCharter.class)); cards.add(new SetCardInfo("Stargaze", 114, Rarity.UNCOMMON, mage.cards.s.Stargaze.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index c34aaf200a9..3f6bfe1a15a 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -53132,6 +53132,7 @@ Portent of Calamity|Bloomburrow|66|R|{X}{U}|Sorcery|||Reveal the top X cards of Run Away Together|Bloomburrow|67|C|{1}{U}|Instant|||Choose two target creatures controlled by different players. Return those creatures to their owners' hands.| Season of Weaving|Bloomburrow|68|M|{4}{U}{U}|Sorcery|||Choose up to five {P} worth of modes. You may choose the same mode more than once.${P} -- Draw a card.${P}{P} -- Choose an artifact or creature you control. Create a token that's a copy of it.${P}{P}{P} -- Return each nonland, nontoken permanent to its owner's hand.| Shoreline Looter|Bloomburrow|70|U|{1}{U}|Creature - Rat Rogue|1|1|Shoreline Looter can't be blocked.$Threshold -- Whenever Shoreline Looter deals combat damage to a player, draw a card. Then discard a card unless seven or more cards are in your graveyard.| +Spellgyre|Bloomburrow|72|U|{2}{U}{U}|Instant|||Choose one --$* Counter target spell.$* Surveil 2, then draw two cards.| Splash Lasher|Bloomburrow|73|U|{3}{U}|Creature - Frog Wizard|3|3|Offspring {1}{U}$When this creature enters, tap up to one target creature and put a stun counter on it.| Splash Portal|Bloomburrow|74|U|{U}|Sorcery|||Exile target creature you control, then return it to the battlefield under its owner's control. If that creature is a Bird, Frog, Otter, or Rat, draw a card.| Sugar Coat|Bloomburrow|76|U|{2}{U}|Enchantment - Aura|||Flash$Enchant creature or Food$Enchanted permanent is a colorless Food artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life" and loses all other card types and abilities.|