mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Implemented Growth Spiral
This commit is contained in:
parent
e9c6c6518f
commit
9cc92553ad
2 changed files with 34 additions and 0 deletions
33
Mage.Sets/src/mage/cards/g/GrowthSpiral.java
Normal file
33
Mage.Sets/src/mage/cards/g/GrowthSpiral.java
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
|
@ -31,6 +31,7 @@ public final class RavnicaAllegiance extends ExpansionSet {
|
||||||
this.ratioBoosterMythic = 8;
|
this.ratioBoosterMythic = 8;
|
||||||
this.maxCardNumberInBooster = 259;
|
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));
|
cards.add(new SetCardInfo("Mortify", 192, Rarity.UNCOMMON, mage.cards.m.Mortify.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue