From d4f636ef7966583494aeddb6d063b44454aec706 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Mon, 8 Apr 2019 12:43:33 -0400 Subject: [PATCH] Implemented Steady Aim --- Mage.Sets/src/mage/cards/s/SteadyAim.java | 44 ++++++++++++++++++++++ Mage.Sets/src/mage/sets/WarOfTheSpark.java | 1 + 2 files changed, 45 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/SteadyAim.java diff --git a/Mage.Sets/src/mage/cards/s/SteadyAim.java b/Mage.Sets/src/mage/cards/s/SteadyAim.java new file mode 100644 index 0000000000..ba8a85edfe --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SteadyAim.java @@ -0,0 +1,44 @@ +package mage.cards.s; + +import mage.abilities.effects.common.UntapTargetEffect; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; +import mage.abilities.keyword.ReachAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SteadyAim extends CardImpl { + + public SteadyAim(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}"); + + // Untap target creature. It gets +1/+4 and gains reach until end of turn. + this.getSpellAbility().addEffect(new UntapTargetEffect()); + this.getSpellAbility().addEffect(new BoostTargetEffect( + 1, 4, Duration.EndOfTurn + ).setText("It gets +1/+4")); + this.getSpellAbility().addEffect(new GainAbilityTargetEffect( + ReachAbility.getInstance(), Duration.EndOfTurn + ).setText("and gains reach until end of turn")); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + } + + private SteadyAim(final SteadyAim card) { + super(card); + } + + @Override + public SteadyAim copy() { + return new SteadyAim(this); + } +} +// I'm labor ready Rhode Scholar for the dollar +// Work for mines pay me by the hour \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/WarOfTheSpark.java b/Mage.Sets/src/mage/sets/WarOfTheSpark.java index 3b67621864..183d84084e 100644 --- a/Mage.Sets/src/mage/sets/WarOfTheSpark.java +++ b/Mage.Sets/src/mage/sets/WarOfTheSpark.java @@ -123,6 +123,7 @@ public final class WarOfTheSpark extends ExpansionSet { cards.add(new SetCardInfo("Sorin, Vengeful Bloodlord", 217, Rarity.RARE, mage.cards.s.SorinVengefulBloodlord.class)); cards.add(new SetCardInfo("Spellgorger Weird", 145, Rarity.COMMON, mage.cards.s.SpellgorgerWeird.class)); cards.add(new SetCardInfo("Spellkeeper Weird", 69, Rarity.COMMON, mage.cards.s.SpellkeeperWeird.class)); + cards.add(new SetCardInfo("Steady Aim", 177, Rarity.COMMON, mage.cards.s.SteadyAim.class)); cards.add(new SetCardInfo("Stealth Mission", 70, Rarity.COMMON, mage.cards.s.StealthMission.class)); cards.add(new SetCardInfo("Storrev, Devkarin Lich", 219, Rarity.RARE, mage.cards.s.StorrevDevkarinLich.class)); cards.add(new SetCardInfo("Swamp", 256, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));