mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
Refactor set's legality, Modern Horizons now available for modern formats;
This commit is contained in:
parent
6bfea7bfd9
commit
e30eecead3
29 changed files with 86 additions and 89 deletions
|
|
@ -16,8 +16,7 @@ public final class DuelDecksAnthologyDivineVsDemonic extends ExpansionSet {
|
|||
}
|
||||
|
||||
private DuelDecksAnthologyDivineVsDemonic() {
|
||||
super("Duel Decks: Anthology, Divine vs. Demonic", "DD3DVD", ExpansionSet.buildDate(2014, 12, 5),
|
||||
SetType.SUPPLEMENTAL);
|
||||
super("Duel Decks: Anthology, Divine vs. Demonic", "DD3DVD", ExpansionSet.buildDate(2014, 12, 5), SetType.SUPPLEMENTAL);
|
||||
this.blockName = "Duel Decks: Anthology";
|
||||
this.hasBasicLands = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,10 +17,10 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
|
||||
private ModernHorizons() {
|
||||
// TODO: update the set type closer to release (no point right now, the cards won't be legal for a while)
|
||||
super("Modern Horizons", "MH1", ExpansionSet.buildDate(2019, 6, 14), SetType.SUPPLEMENTAL);
|
||||
super("Modern Horizons", "MH1", ExpansionSet.buildDate(2019, 6, 14), SetType.SUPPLEMENTAL_MODERN_LEGAL);
|
||||
this.blockName = "Modern Horizons";
|
||||
this.hasBasicLands = false;
|
||||
this.hasBoosters = true;
|
||||
this.hasBoosters = false; // TODO: enable after more cards will be available
|
||||
this.numBoosterLands = 0;
|
||||
this.numBoosterCommon = 11;
|
||||
this.numBoosterUncommon = 3;
|
||||
|
|
@ -30,5 +30,4 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Cabal Therapist", 80, Rarity.RARE, mage.cards.c.CabalTherapist.class));
|
||||
cards.add(new SetCardInfo("Serra the Benevolent", 26, Rarity.MYTHIC, mage.cards.s.SerraTheBenevolent.class));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.sets;
|
||||
|
||||
import mage.cards.ExpansionSet;
|
||||
|
|
@ -6,7 +5,6 @@ import mage.constants.Rarity;
|
|||
import mage.constants.SetType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public final class ModernMasters extends ExpansionSet {
|
||||
|
|
@ -18,7 +16,7 @@ public final class ModernMasters extends ExpansionSet {
|
|||
}
|
||||
|
||||
private ModernMasters() {
|
||||
super("Modern Masters", "MMA", ExpansionSet.buildDate(2013, 6, 7), SetType.SUPPLEMENTAL);
|
||||
super("Modern Masters", "MMA", ExpansionSet.buildDate(2013, 6, 7), SetType.SUPPLEMENTAL_MODERN_LEGAL);
|
||||
this.blockName = "Reprint";
|
||||
this.hasBasicLands = false;
|
||||
this.hasBoosters = true;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import mage.constants.Rarity;
|
|||
import mage.constants.SetType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author fireshoes
|
||||
*/
|
||||
public final class ModernMasters2015 extends ExpansionSet {
|
||||
|
|
@ -17,7 +16,7 @@ public final class ModernMasters2015 extends ExpansionSet {
|
|||
}
|
||||
|
||||
private ModernMasters2015() {
|
||||
super("Modern Masters 2015", "MM2", ExpansionSet.buildDate(2015, 5, 22), SetType.SUPPLEMENTAL);
|
||||
super("Modern Masters 2015", "MM2", ExpansionSet.buildDate(2015, 5, 22), SetType.SUPPLEMENTAL_MODERN_LEGAL);
|
||||
this.blockName = "Reprint";
|
||||
this.hasBasicLands = false;
|
||||
this.hasBoosters = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.sets;
|
||||
|
||||
import mage.cards.ExpansionSet;
|
||||
|
|
@ -6,7 +5,6 @@ import mage.constants.Rarity;
|
|||
import mage.constants.SetType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author fireshoes
|
||||
*/
|
||||
public final class ModernMasters2017 extends ExpansionSet {
|
||||
|
|
@ -18,7 +16,7 @@ public final class ModernMasters2017 extends ExpansionSet {
|
|||
}
|
||||
|
||||
private ModernMasters2017() {
|
||||
super("Modern Masters 2017", "MM3", ExpansionSet.buildDate(2017, 3, 17), SetType.SUPPLEMENTAL);
|
||||
super("Modern Masters 2017", "MM3", ExpansionSet.buildDate(2017, 3, 17), SetType.SUPPLEMENTAL_MODERN_LEGAL);
|
||||
this.blockName = "Reprint";
|
||||
this.hasBasicLands = false;
|
||||
this.hasBoosters = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.sets;
|
||||
|
||||
import mage.cards.ExpansionSet;
|
||||
|
|
@ -17,8 +16,7 @@ public final class PremiumDeckSeriesFireAndLightning extends ExpansionSet {
|
|||
}
|
||||
|
||||
private PremiumDeckSeriesFireAndLightning() {
|
||||
super("Premium Deck Series: Fire and Lightning", "PD2", ExpansionSet.buildDate(2010, 11, 1),
|
||||
SetType.SUPPLEMENTAL);
|
||||
super("Premium Deck Series: Fire and Lightning", "PD2", ExpansionSet.buildDate(2010, 11, 1), SetType.SUPPLEMENTAL);
|
||||
this.hasBasicLands = true;
|
||||
|
||||
cards.add(new SetCardInfo("Ball Lightning", 12, Rarity.RARE, mage.cards.b.BallLightning.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue