From 5b8712b44dfcc4565da6a53cc0613af074b4b010 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 3 Apr 2020 14:26:21 -0400 Subject: [PATCH] Implemented Boon of the Wish-Giver --- .../src/mage/cards/b/BoonOfTheWishGiver.java | 35 +++++++++++++++++++ .../src/mage/sets/IkoriaLairOfBehemoths.java | 1 + 2 files changed, 36 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BoonOfTheWishGiver.java diff --git a/Mage.Sets/src/mage/cards/b/BoonOfTheWishGiver.java b/Mage.Sets/src/mage/cards/b/BoonOfTheWishGiver.java new file mode 100644 index 00000000000..042af41cc41 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BoonOfTheWishGiver.java @@ -0,0 +1,35 @@ +package mage.cards.b; + +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.keyword.CyclingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BoonOfTheWishGiver extends CardImpl { + + public BoonOfTheWishGiver(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{U}{U}"); + + // Draw four cards. + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(4)); + + // Cycling {1} + this.addAbility(new CyclingAbility(new ManaCostsImpl("{1}"))); + } + + private BoonOfTheWishGiver(final BoonOfTheWishGiver card) { + super(card); + } + + @Override + public BoonOfTheWishGiver copy() { + return new BoonOfTheWishGiver(this); + } +} diff --git a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java index 923cee4c4bb..58870d5e3bf 100644 --- a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java +++ b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java @@ -26,6 +26,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet { this.ratioBoosterMythic = 8; this.maxCardNumberInBooster = 274; + cards.add(new SetCardInfo("Boon of the Wish-Giver", 43, Rarity.UNCOMMON, mage.cards.b.BoonOfTheWishGiver.class)); cards.add(new SetCardInfo("Bristling Boar", 146, Rarity.COMMON, mage.cards.b.BristlingBoar.class)); cards.add(new SetCardInfo("Cloudpiercer", 112, Rarity.COMMON, mage.cards.c.Cloudpiercer.class)); cards.add(new SetCardInfo("Colossification", 148, Rarity.RARE, mage.cards.c.Colossification.class));