diff --git a/Mage.Sets/src/mage/cards/b/BondOfFlourishing.java b/Mage.Sets/src/mage/cards/b/BondOfFlourishing.java new file mode 100644 index 00000000000..bba9076cfed --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BondOfFlourishing.java @@ -0,0 +1,40 @@ +package mage.cards.b; + +import mage.abilities.dynamicvalue.common.StaticValue; +import mage.abilities.effects.common.GainLifeEffect; +import mage.abilities.effects.common.LookLibraryAndPickControllerEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.FilterCard; +import mage.filter.common.FilterPermanentCard; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BondOfFlourishing extends CardImpl { + + private static final FilterCard filter = new FilterPermanentCard(); + + public BondOfFlourishing(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{G}"); + + // Look at the top three card of your library. You may reveal a permanent card from among them and put it into your hand. Put the rest on the bottom of your library in any order. You gain 3 life. + this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect( + new StaticValue(3), false, + new StaticValue(1), filter, false + )); + this.getSpellAbility().addEffect(new GainLifeEffect(3).setText("You gain 3 life.")); + } + + private BondOfFlourishing(final BondOfFlourishing card) { + super(card); + } + + @Override + public BondOfFlourishing copy() { + return new BondOfFlourishing(this); + } +} diff --git a/Mage.Sets/src/mage/sets/WarOfTheSpark.java b/Mage.Sets/src/mage/sets/WarOfTheSpark.java index cffe4392133..8606a755daa 100644 --- a/Mage.Sets/src/mage/sets/WarOfTheSpark.java +++ b/Mage.Sets/src/mage/sets/WarOfTheSpark.java @@ -39,6 +39,7 @@ public final class WarOfTheSpark extends ExpansionSet { cards.add(new SetCardInfo("Blindblast", 114, Rarity.COMMON, mage.cards.b.Blindblast.class)); cards.add(new SetCardInfo("Bloom Hulk", 154, Rarity.COMMON, mage.cards.b.BloomHulk.class)); cards.add(new SetCardInfo("Bolt Bend", 115, Rarity.UNCOMMON, mage.cards.b.BoltBend.class)); + cards.add(new SetCardInfo("Bond of Flourishing", 155, Rarity.UNCOMMON, mage.cards.b.BondOfFlourishing.class)); cards.add(new SetCardInfo("Bond of Insight", 43, Rarity.UNCOMMON, mage.cards.b.BondOfInsight.class)); cards.add(new SetCardInfo("Bulwark Giant", 7, Rarity.COMMON, mage.cards.b.BulwarkGiant.class)); cards.add(new SetCardInfo("Burning Prophet", 117, Rarity.COMMON, mage.cards.b.BurningProphet.class));