Merge pull request #5287 from magefree/rystan-patch-4

Add ImperviousGreatwurm - GRN BaB promo
This commit is contained in:
theelk801 2018-09-02 14:00:51 -04:00 committed by GitHub
commit 30c70e5c8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.i;
import mage.abilities.keyword.ConvokeAbility;
import mage.abilities.keyword.IndestructibleAbility;
import mage.cards.CardImpl;
import mage.MageInt;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
*
* @author Rystan
*/
public final class ImperviousGreatwurm extends CardImpl {
public ImperviousGreatwurm(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{7}{G}{G}{G}");
this.subtype.add(SubType.WURM);
this.power = new MageInt(16);
this.toughness = new MageInt(16);
// Convoke
this.addAbility(new ConvokeAbility());
// Indestructible
this.addAbility(IndestructibleAbility.getInstance());
}
public ImperviousGreatwurm(final ImperviousGreatwurm card) {
super(card);
}
@Override
public ImperviousGreatwurm copy() {
return new ImperviousGreatwurm(this);
}
}

View file

@ -0,0 +1,26 @@
package mage.sets;
import mage.cards.ExpansionSet;
import mage.constants.Rarity;
import mage.constants.SetType;
public final class GuildsOfRavnica extends ExpansionSet {
private static final GuildsOfRavnica instance = new GuildsOfRavnica();
public static GuildsOfRavnica getInstance() {
return instance;
}
private GuildsOfRavnica() {
super("Guilds of Ravnica", "GRN", ExpansionSet.buildDate(2018, 10, 5), SetType.EXPANSION);
this.blockName = "Guilds of Ravnica";
this.hasBoosters = true;
//this.numBoosterLands = 1;
//this.numBoosterCommon = 10;
//this.numBoosterUncommon = 3;
//this.numBoosterRare = 1;
//this.ratioBoosterMythic = 8;
cards.add(new SetCardInfo("Impervious Greatwurm", 273, Rarity.MYTHIC, mage.cards.i.ImperviousGreatwurm.class));
}
}