From 0f4a1f65ca728117d997b7efe65fca36eba44063 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 4 Sep 2021 09:47:56 -0400 Subject: [PATCH] [MID] Implemented Lunar Frenzy --- Mage.Sets/src/mage/cards/l/LunarFrenzy.java | 16 ++++++++++------ .../src/mage/sets/InnistradMidnightHunt.java | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Mage.Sets/src/mage/cards/l/LunarFrenzy.java b/Mage.Sets/src/mage/cards/l/LunarFrenzy.java index fd3a052326f..82240f08d69 100644 --- a/Mage.Sets/src/mage/cards/l/LunarFrenzy.java +++ b/Mage.Sets/src/mage/cards/l/LunarFrenzy.java @@ -15,20 +15,24 @@ import mage.target.common.TargetControlledCreaturePermanent; import java.util.UUID; /** - * - * @author ciaccona007 + * @author TheElk801 */ public final class LunarFrenzy extends CardImpl { public LunarFrenzy(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{X}{R}"); - // Target creature you control gets +X/+0 and gains first strike and trample until end of turn. + this.getSpellAbility().addEffect(new BoostTargetEffect( + ManacostVariableValue.REGULAR, StaticValue.get(0), Duration.EndOfTurn + ).setText("target creature you control gets +X/+0")); + this.getSpellAbility().addEffect(new GainAbilityTargetEffect( + FirstStrikeAbility.getInstance(), Duration.EndOfTurn + ).setText("and gains first strike")); + this.getSpellAbility().addEffect(new GainAbilityTargetEffect( + TrampleAbility.getInstance(), Duration.EndOfTurn + ).setText("and trample until end of turn")); this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent()); - this.getSpellAbility().addEffect(new BoostTargetEffect(ManacostVariableValue.REGULAR, StaticValue.get(0), Duration.EndOfTurn)); - this.getSpellAbility().addEffect(new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn)); - this.getSpellAbility().addEffect(new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn)); } private LunarFrenzy(final LunarFrenzy card) { diff --git a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java index 7e2e17a224b..cd5825f35ab 100644 --- a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java +++ b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java @@ -56,6 +56,7 @@ public final class InnistradMidnightHunt extends ExpansionSet { cards.add(new SetCardInfo("Join the Dance", 229, Rarity.UNCOMMON, mage.cards.j.JoinTheDance.class)); cards.add(new SetCardInfo("Kessig Naturalist", 231, Rarity.UNCOMMON, mage.cards.k.KessigNaturalist.class)); cards.add(new SetCardInfo("Lord of the Ulvenwald", 231, Rarity.UNCOMMON, mage.cards.l.LordOfTheUlvenwald.class)); + cards.add(new SetCardInfo("Lunar Frenzy", 147, Rarity.UNCOMMON, mage.cards.l.LunarFrenzy.class)); cards.add(new SetCardInfo("Mountain", 274, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Overgrown Farmland", 265, Rarity.RARE, mage.cards.o.OvergrownFarmland.class)); cards.add(new SetCardInfo("Pestilent Wolf", 192, Rarity.COMMON, mage.cards.p.PestilentWolf.class));