From d6c7c84e4cec102b54ec0b1da06def16af272f43 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 10 Apr 2020 19:48:21 -0400 Subject: [PATCH] Implemented Unexpected Fangs --- .../src/mage/cards/u/UnexpectedFangs.java | 34 +++++++++++++++++++ .../src/mage/sets/IkoriaLairOfBehemoths.java | 1 + 2 files changed, 35 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/u/UnexpectedFangs.java diff --git a/Mage.Sets/src/mage/cards/u/UnexpectedFangs.java b/Mage.Sets/src/mage/cards/u/UnexpectedFangs.java new file mode 100644 index 00000000000..189346b388a --- /dev/null +++ b/Mage.Sets/src/mage/cards/u/UnexpectedFangs.java @@ -0,0 +1,34 @@ +package mage.cards.u; + +import mage.abilities.effects.common.counter.AddCountersTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.counters.CounterType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class UnexpectedFangs extends CardImpl { + + public UnexpectedFangs(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{B}"); + + // Put a +1/+1 counter and a lifelink counter on target creature. + this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.P1P1.createInstance()) + .setText("put a +1/+1 counter")); + this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.LIFELINK.createInstance()) + .setText("and a lifelink counter on target creature")); + } + + private UnexpectedFangs(final UnexpectedFangs card) { + super(card); + } + + @Override + public UnexpectedFangs copy() { + return new UnexpectedFangs(this); + } +} diff --git a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java index 6b2a6c75791..bdea0b15097 100644 --- a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java +++ b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java @@ -244,6 +244,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet { cards.add(new SetCardInfo("Tranquil Cove", 257, Rarity.COMMON, mage.cards.t.TranquilCove.class)); cards.add(new SetCardInfo("Trumpeting Gnarr", 213, Rarity.UNCOMMON, mage.cards.t.TrumpetingGnarr.class)); cards.add(new SetCardInfo("Unbreakable Bond", 101, Rarity.UNCOMMON, mage.cards.u.UnbreakableBond.class)); + cards.add(new SetCardInfo("Unexpected Fangs", 102, Rarity.COMMON, mage.cards.u.UnexpectedFangs.class)); cards.add(new SetCardInfo("Unlikely Aid", 103, Rarity.COMMON, mage.cards.u.UnlikelyAid.class)); cards.add(new SetCardInfo("Vadrok, Apex of Thunder", 214, Rarity.MYTHIC, mage.cards.v.VadrokApexOfThunder.class)); cards.add(new SetCardInfo("Void Beckoner", 104, Rarity.UNCOMMON, mage.cards.v.VoidBeckoner.class));