diff --git a/Mage.Sets/src/mage/cards/v/VastwoodSurge.java b/Mage.Sets/src/mage/cards/v/VastwoodSurge.java new file mode 100644 index 0000000000..040fd17a9c --- /dev/null +++ b/Mage.Sets/src/mage/cards/v/VastwoodSurge.java @@ -0,0 +1,55 @@ +package mage.cards.v; + +import mage.abilities.condition.common.KickedCondition; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.decorator.ConditionalOneShotEffect; +import mage.abilities.effects.common.counter.AddCountersAllEffect; +import mage.abilities.effects.common.search.SearchLibraryPutInPlayEffect; +import mage.abilities.keyword.KickerAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.counters.CounterType; +import mage.filter.FilterCard; +import mage.filter.StaticFilters; +import mage.filter.common.FilterBasicLandCard; +import mage.target.common.TargetCardInLibrary; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class VastwoodSurge extends CardImpl { + + private static final FilterCard filter = new FilterBasicLandCard("basic land cards"); + + public VastwoodSurge(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{G}"); + + + // Kicker {4} + this.addAbility(new KickerAbility(new ManaCostsImpl<>("{4}"))); + + // Search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library. If this spell was kicked, put two +1/+1 counters on each creature you control. + this.getSpellAbility().addEffect(new SearchLibraryPutInPlayEffect( + new TargetCardInLibrary(0, 2, filter), true + )); + this.getSpellAbility().addEffect(new ConditionalOneShotEffect( + new AddCountersAllEffect( + CounterType.P1P1.createInstance(2), + StaticFilters.FILTER_CONTROLLED_CREATURES + ), KickedCondition.instance, "If this spell was kicked, " + + "put two +1/+1 counters on each creature you control." + )); + } + + private VastwoodSurge(final VastwoodSurge card) { + super(card); + } + + @Override + public VastwoodSurge copy() { + return new VastwoodSurge(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ZendikarRising.java b/Mage.Sets/src/mage/sets/ZendikarRising.java index 9c72de9b81..691e073edf 100644 --- a/Mage.Sets/src/mage/sets/ZendikarRising.java +++ b/Mage.Sets/src/mage/sets/ZendikarRising.java @@ -237,6 +237,7 @@ public final class ZendikarRising extends ExpansionSet { cards.add(new SetCardInfo("Umara Skyfalls", 86, Rarity.UNCOMMON, mage.cards.u.UmaraSkyfalls.class)); cards.add(new SetCardInfo("Umara Wizard", 86, Rarity.UNCOMMON, mage.cards.u.UmaraWizard.class)); cards.add(new SetCardInfo("Utility Knife", 256, Rarity.COMMON, mage.cards.u.UtilityKnife.class)); + cards.add(new SetCardInfo("Vastwood Surge", 217, Rarity.UNCOMMON, mage.cards.v.VastwoodSurge.class)); cards.add(new SetCardInfo("Veteran Adventurer", 218, Rarity.UNCOMMON, mage.cards.v.VeteranAdventurer.class)); cards.add(new SetCardInfo("Windrider Wizard", 87, Rarity.UNCOMMON, mage.cards.w.WindriderWizard.class)); cards.add(new SetCardInfo("Zof Bloodbog", 132, Rarity.UNCOMMON, mage.cards.z.ZofBloodbog.class));