From bc874fbc235e73982c507c968b2e7fe0adc16deb Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 29 May 2019 12:54:27 -0400 Subject: [PATCH] Implemented Shenanigans --- Mage.Sets/src/mage/cards/s/Shenanigans.java | 37 +++++++++++++++++++++ Mage.Sets/src/mage/sets/ModernHorizons.java | 1 + 2 files changed, 38 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/Shenanigans.java diff --git a/Mage.Sets/src/mage/cards/s/Shenanigans.java b/Mage.Sets/src/mage/cards/s/Shenanigans.java new file mode 100644 index 0000000000..36655f162c --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/Shenanigans.java @@ -0,0 +1,37 @@ +package mage.cards.s; + +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.keyword.DredgeAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetArtifactPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class Shenanigans extends CardImpl { + + public Shenanigans(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}"); + + // Destroy target artifact. + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellAbility().addTarget(new TargetArtifactPermanent()); + + // Dredge 1 + this.addAbility(new DredgeAbility(1)); + } + + private Shenanigans(final Shenanigans card) { + super(card); + } + + @Override + public Shenanigans copy() { + return new Shenanigans(this); + } +} +// Hey Farva what's the name of that restaurant you like with all the goofy shit on the walls and the mozzarella sticks? diff --git a/Mage.Sets/src/mage/sets/ModernHorizons.java b/Mage.Sets/src/mage/sets/ModernHorizons.java index 6317881fe8..3e1a0eaa09 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons.java @@ -140,6 +140,7 @@ public final class ModernHorizons extends ExpansionSet { cards.add(new SetCardInfo("Secluded Steppe", 245, Rarity.UNCOMMON, mage.cards.s.SecludedSteppe.class)); cards.add(new SetCardInfo("Segovian Angel", 25, Rarity.COMMON, mage.cards.s.SegovianAngel.class)); cards.add(new SetCardInfo("Serra the Benevolent", 26, Rarity.MYTHIC, mage.cards.s.SerraTheBenevolent.class)); + cards.add(new SetCardInfo("Shenanigans", 146, Rarity.COMMON, mage.cards.s.Shenanigans.class)); cards.add(new SetCardInfo("Silent Clearing", 246, Rarity.RARE, mage.cards.s.SilentClearing.class)); cards.add(new SetCardInfo("Sisay, Weatherlight Captain", 29, Rarity.RARE, mage.cards.s.SisayWeatherlightCaptain.class)); cards.add(new SetCardInfo("Sling-Gang Lieutenant", 108, Rarity.UNCOMMON, mage.cards.s.SlingGangLieutenant.class));