Implemented Growth Spiral

This commit is contained in:
Evan Kranzler 2018-12-17 21:43:00 -05:00
parent e9c6c6518f
commit 9cc92553ad
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,33 @@
package mage.cards.g;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.PutCardFromHandOntoBattlefieldEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class GrowthSpiral extends CardImpl {
public GrowthSpiral(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{G}{U}");
// Draw a card. You may put a land card from your hand onto the battlefield.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
this.getSpellAbility().addEffect(new PutCardFromHandOntoBattlefieldEffect(StaticFilters.FILTER_CARD_LAND_A));
}
public GrowthSpiral(final GrowthSpiral card) {
super(card);
}
@Override
public GrowthSpiral copy() {
return new GrowthSpiral(this);
}
}

View file

@ -31,6 +31,7 @@ public final class RavnicaAllegiance extends ExpansionSet {
this.ratioBoosterMythic = 8;
this.maxCardNumberInBooster = 259;
cards.add(new SetCardInfo("Growth Spiral", 178, Rarity.COMMON, mage.cards.g.GrowthSpiral.class));
cards.add(new SetCardInfo("Mortify", 192, Rarity.UNCOMMON, mage.cards.m.Mortify.class));
}