diff --git a/Mage.Sets/src/mage/cards/g/GiftOfTheViper.java b/Mage.Sets/src/mage/cards/g/GiftOfTheViper.java new file mode 100644 index 00000000000..eb53852ef50 --- /dev/null +++ b/Mage.Sets/src/mage/cards/g/GiftOfTheViper.java @@ -0,0 +1,42 @@ +package mage.cards.g; + +import java.util.UUID; + +import mage.abilities.effects.common.UntapTargetEffect; +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; + +/** + * + * @author grimreap124 + */ +public final class GiftOfTheViper extends CardImpl { + + public GiftOfTheViper(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[] { CardType.INSTANT }, "{G}"); + + // Put a +1/+1 counter, a reach counter, and a deathtouch counter on target creature. Untap it. + this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.P1P1.createInstance()) + .setText("Put a +1/+1 counter")); + this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.REACH.createInstance()) + .setText("a reach counter").concatBy(",")); + this.getSpellAbility() + .addEffect(new AddCountersTargetEffect(CounterType.DEATHTOUCH.createInstance()) + .setText("a deathtouch counter on target creature").concatBy(", and")); + this.getSpellAbility().addEffect(new UntapTargetEffect("untap it")); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + } + + private GiftOfTheViper(final GiftOfTheViper card) { + super(card); + } + + @Override + public GiftOfTheViper copy() { + return new GiftOfTheViper(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons3.java b/Mage.Sets/src/mage/sets/ModernHorizons3.java index c39584bbdec..18c68a6a416 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons3.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons3.java @@ -95,6 +95,7 @@ public final class ModernHorizons3 extends ExpansionSet { cards.add(new SetCardInfo("Furnace Hellkite", 121, Rarity.UNCOMMON, mage.cards.f.FurnaceHellkite.class)); cards.add(new SetCardInfo("Galvanic Discharge", 122, Rarity.COMMON, mage.cards.g.GalvanicDischarge.class)); cards.add(new SetCardInfo("Ghostfire Slice", 123, Rarity.UNCOMMON, mage.cards.g.GhostfireSlice.class)); + cards.add(new SetCardInfo("Gift of the Viper", 156, Rarity.COMMON, mage.cards.g.GiftOfTheViper.class)); cards.add(new SetCardInfo("Glasswing Grace", 254, Rarity.UNCOMMON, mage.cards.g.GlasswingGrace.class)); cards.add(new SetCardInfo("Gravedig", 96, Rarity.COMMON, mage.cards.g.Gravedig.class)); cards.add(new SetCardInfo("Grim Servant", 97, Rarity.UNCOMMON, mage.cards.g.GrimServant.class));