From b98bc2379819deaf3a6b8dddc20ab2fe373002bb Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 10 Apr 2020 22:12:58 -0400 Subject: [PATCH] Implemented Sudden Spinnerets --- .../src/mage/cards/s/SuddenSpinnerets.java | 38 +++++++++++++++++++ .../src/mage/sets/IkoriaLairOfBehemoths.java | 1 + 2 files changed, 39 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/SuddenSpinnerets.java diff --git a/Mage.Sets/src/mage/cards/s/SuddenSpinnerets.java b/Mage.Sets/src/mage/cards/s/SuddenSpinnerets.java new file mode 100644 index 0000000000..5b744e6762 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SuddenSpinnerets.java @@ -0,0 +1,38 @@ +package mage.cards.s; + +import mage.abilities.effects.common.UntapTargetEffect; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.effects.common.counter.AddCountersTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.counters.CounterType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SuddenSpinnerets extends CardImpl { + + public SuddenSpinnerets(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{G}"); + + // Target creature gets +1/+3 until end of turn. Put a reach counter on it. Untap it. + this.getSpellAbility().addEffect(new BoostTargetEffect(1, 3)); + this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.REACH.createInstance()) + .setText("Put a reach counter on it")); + this.getSpellAbility().addEffect(new UntapTargetEffect().setText("Untap it")); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + } + + private SuddenSpinnerets(final SuddenSpinnerets card) { + super(card); + } + + @Override + public SuddenSpinnerets copy() { + return new SuddenSpinnerets(this); + } +} diff --git a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java index 2fba09cc90..8bbbef749f 100644 --- a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java +++ b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java @@ -240,6 +240,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet { cards.add(new SetCardInfo("Spontaneous Flight", 33, Rarity.COMMON, mage.cards.s.SpontaneousFlight.class)); cards.add(new SetCardInfo("Springjaw Trap", 241, Rarity.COMMON, mage.cards.s.SpringjawTrap.class)); cards.add(new SetCardInfo("Sprite Dragon", 211, Rarity.UNCOMMON, mage.cards.s.SpriteDragon.class)); + cards.add(new SetCardInfo("Sudden Spinnerets", 171, Rarity.COMMON, mage.cards.s.SuddenSpinnerets.class)); cards.add(new SetCardInfo("Suffocating Fumes", 100, Rarity.COMMON, mage.cards.s.SuffocatingFumes.class)); cards.add(new SetCardInfo("Swamp", 266, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Swamp", 267, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));