From e5694c0284562eaaf0cfdb9cea332dd7db72ac0a Mon Sep 17 00:00:00 2001 From: theelk801 Date: Tue, 29 Oct 2024 12:18:59 -0400 Subject: [PATCH] [FDN] Implement Seeker's Folly --- Mage.Sets/src/mage/cards/s/SeekersFolly.java | 43 ++++++++++++++++++++ Mage.Sets/src/mage/sets/Foundations.java | 1 + 2 files changed, 44 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/SeekersFolly.java diff --git a/Mage.Sets/src/mage/cards/s/SeekersFolly.java b/Mage.Sets/src/mage/cards/s/SeekersFolly.java new file mode 100644 index 00000000000..1abec58d97a --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SeekersFolly.java @@ -0,0 +1,43 @@ +package mage.cards.s; + +import mage.abilities.Mode; +import mage.abilities.effects.common.continuous.BoostAllEffect; +import mage.abilities.effects.common.discard.DiscardTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.filter.StaticFilters; +import mage.target.common.TargetOpponent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SeekersFolly extends CardImpl { + + public SeekersFolly(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}"); + + // Choose one -- + // * Target opponent discards two cards. + this.getSpellAbility().addEffect(new DiscardTargetEffect(2)); + this.getSpellAbility().addTarget(new TargetOpponent()); + + // * Creatures your opponents control get -1/-1 until end of turn. + this.getSpellAbility().addMode(new Mode(new BoostAllEffect( + -1, -1, Duration.EndOfTurn, + StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURES, false + ))); + } + + private SeekersFolly(final SeekersFolly card) { + super(card); + } + + @Override + public SeekersFolly copy() { + return new SeekersFolly(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Foundations.java b/Mage.Sets/src/mage/sets/Foundations.java index 81c407a95b4..a082b64846f 100644 --- a/Mage.Sets/src/mage/sets/Foundations.java +++ b/Mage.Sets/src/mage/sets/Foundations.java @@ -108,6 +108,7 @@ public final class Foundations extends ExpansionSet { cards.add(new SetCardInfo("Savannah Lions", 146, Rarity.UNCOMMON, mage.cards.s.SavannahLions.class)); cards.add(new SetCardInfo("Scavenging Ooze", 232, Rarity.RARE, mage.cards.s.ScavengingOoze.class)); cards.add(new SetCardInfo("Searslicer Goblin", 93, Rarity.RARE, mage.cards.s.SearslicerGoblin.class)); + cards.add(new SetCardInfo("Seeker's Folly", 69, Rarity.UNCOMMON, mage.cards.s.SeekersFolly.class)); cards.add(new SetCardInfo("Seismic Rupture", 205, Rarity.UNCOMMON, mage.cards.s.SeismicRupture.class)); cards.add(new SetCardInfo("Serra Angel", 147, Rarity.UNCOMMON, mage.cards.s.SerraAngel.class)); cards.add(new SetCardInfo("Shivan Dragon", 206, Rarity.UNCOMMON, mage.cards.s.ShivanDragon.class));