mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
[ZNR] Implemented Vastwood Surge
This commit is contained in:
parent
23fd5a0ca5
commit
7538682530
2 changed files with 56 additions and 0 deletions
55
Mage.Sets/src/mage/cards/v/VastwoodSurge.java
Normal file
55
Mage.Sets/src/mage/cards/v/VastwoodSurge.java
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue