From 6c8cc0cbea3fdf6fb1eaf460217877910975b132 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Thu, 6 Apr 2023 19:36:22 -0400 Subject: [PATCH] [MOM] Implement Burning Sun's Fury --- .../src/mage/cards/b/BurningSunsFury.java | 41 +++++++++++++++++++ .../src/mage/sets/MarchOfTheMachine.java | 1 + 2 files changed, 42 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BurningSunsFury.java diff --git a/Mage.Sets/src/mage/cards/b/BurningSunsFury.java b/Mage.Sets/src/mage/cards/b/BurningSunsFury.java new file mode 100644 index 0000000000..a987acdc7a --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BurningSunsFury.java @@ -0,0 +1,41 @@ +package mage.cards.b; + +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; +import mage.abilities.keyword.ConvokeAbility; +import mage.abilities.keyword.HasteAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BurningSunsFury extends CardImpl { + + public BurningSunsFury(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}"); + + // Convoke + this.addAbility(new ConvokeAbility()); + + // Up to two target creatures each get +2/+0 and gain haste until end of turn. + this.getSpellAbility().addEffect(new BoostTargetEffect(2, 0) + .setText("up to two target creatures each get +2/+0")); + this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance()) + .setText("and gain haste until end of turn")); + this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2)); + } + + private BurningSunsFury(final BurningSunsFury card) { + super(card); + } + + @Override + public BurningSunsFury copy() { + return new BurningSunsFury(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java index d1a9df11a5..4f3e15d983 100644 --- a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java +++ b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java @@ -47,6 +47,7 @@ public final class MarchOfTheMachine extends ExpansionSet { cards.add(new SetCardInfo("Bonded Herdbeast", 178, Rarity.COMMON, mage.cards.b.BondedHerdbeast.class)); cards.add(new SetCardInfo("Boon-Bringer Valkyrie", 9, Rarity.RARE, mage.cards.b.BoonBringerValkyrie.class)); cards.add(new SetCardInfo("Borborygmos and Fblthp", 219, Rarity.MYTHIC, mage.cards.b.BorborygmosAndFblthp.class)); + cards.add(new SetCardInfo("Burning Sun's Fury", 133, Rarity.COMMON, mage.cards.b.BurningSunsFury.class)); cards.add(new SetCardInfo("Burnished Dunestomper", 43, Rarity.COMMON, mage.cards.b.BurnishedDunestomper.class)); cards.add(new SetCardInfo("Captive Weird", 49, Rarity.UNCOMMON, mage.cards.c.CaptiveWeird.class)); cards.add(new SetCardInfo("Chandra, Hope's Beacon", 134, Rarity.MYTHIC, mage.cards.c.ChandraHopesBeacon.class));