mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Editor / Add Lands - Fixed that sets could be selected, that doesn't have all type of basic lands. So sometimes it was not possible any type of basic land to add to the deck for sealed / draft match.
This commit is contained in:
parent
055fea4b0b
commit
0009797a68
14 changed files with 13 additions and 4 deletions
|
@ -45,5 +45,6 @@ public class AjaniVsNicolBolas extends ExpansionSet {
|
|||
|
||||
private AjaniVsNicolBolas() {
|
||||
super("Duel Decks: Ajani vs. Nicol Bolas", "DDH", "mage.sets.ajanivsnicolbolas", new GregorianCalendar(2011, 9, 2).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
|
@ -1,10 +1,9 @@
|
|||
package mage.sets;
|
||||
|
||||
import java.util.GregorianCalendar;
|
||||
import mage.cards.ExpansionSet;
|
||||
import mage.constants.SetType;
|
||||
|
||||
import java.util.GregorianCalendar;
|
||||
|
||||
public class ChampionsOfKamigawa extends ExpansionSet {
|
||||
private static final ChampionsOfKamigawa fINSTANCE = new ChampionsOfKamigawa();
|
||||
|
||||
|
|
|
@ -46,5 +46,6 @@ public class DivineVsDemonic extends ExpansionSet {
|
|||
|
||||
private DivineVsDemonic() {
|
||||
super("Duel Decks: Divine vs. Demonic", "DDC", "mage.sets.divinevsdemonic", new GregorianCalendar(2009, 04, 10).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
|
@ -14,5 +14,6 @@ public class ElspethvsTezzeret extends ExpansionSet {
|
|||
|
||||
private ElspethvsTezzeret() {
|
||||
super("Duel Decks: Elspeth vs. Tezzeret", "DDF", "mage.sets.elspethvstezzeret", new GregorianCalendar(2010, 8, 3).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,5 +24,6 @@ public class ElvesVsGoblins extends ExpansionSet {
|
|||
|
||||
private ElvesVsGoblins() {
|
||||
super("Duel Decks: Elves vs. Goblins", "EVG", "mage.sets.elvesvsgoblins", new GregorianCalendar(2007, 11, 16).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
|
@ -24,5 +24,6 @@ public class GarrukVsLiliana extends ExpansionSet {
|
|||
|
||||
private GarrukVsLiliana() {
|
||||
super("Duel Decks: Garruk vs. Liliana", "DDD", "mage.sets.garrukvsliliana", new GregorianCalendar(2009, 10, 30).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
|
@ -45,5 +45,6 @@ public class Heroesvsmonsters extends ExpansionSet {
|
|||
|
||||
private Heroesvsmonsters() {
|
||||
super("Duel Decks: Heroes vs. Monsters", "DDL", "mage.sets.heroesvsmonsters", new GregorianCalendar(2013, 9, 6).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
|
@ -24,5 +24,6 @@ public class JaceVsChandra extends ExpansionSet {
|
|||
|
||||
private JaceVsChandra() {
|
||||
super("Duel Decks: Jace vs. Chandra", "DD2", "mage.sets.jacevschandra", new GregorianCalendar(2008, 11, 07).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,5 +46,6 @@ public class JaceVsVraska extends ExpansionSet {
|
|||
|
||||
private JaceVsVraska() {
|
||||
super("Duel Decks: Jace vs. Vraska", "DDM", "mage.sets.jacevsvraska", new GregorianCalendar(2014, 3, 14).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,5 +46,6 @@ public class KnightsVsDragons extends ExpansionSet {
|
|||
|
||||
private KnightsVsDragons() {
|
||||
super("Duel Decks: Knights vs. Dragons", "DDG", "mage.sets.knightsvsdragons", new GregorianCalendar(2011, 4, 1).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
|
@ -15,5 +15,6 @@ public class MagicPlayerRewards extends ExpansionSet {
|
|||
private MagicPlayerRewards() {
|
||||
super("Magic Player Rewards", "MPR", "mage.sets.playerrewards", new GregorianCalendar(1990, 1, 1).getTime(), SetType.EXPANSION);
|
||||
this.hasBoosters = false;
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,6 @@ public class MirrodinBesieged extends ExpansionSet {
|
|||
super("Mirrodin Besieged", "MBS", "mage.sets.mirrodinbesieged", new GregorianCalendar(2011, 1, 4).getTime(), SetType.EXPANSION);
|
||||
this.blockName = "Scars of Mirrodin";
|
||||
this.parentSet = ScarsOfMirrodin.getInstance();
|
||||
this.hasBasicLands = false;
|
||||
this.hasBoosters = true;
|
||||
this.numBoosterLands = 1;
|
||||
this.numBoosterCommon = 10;
|
||||
|
|
|
@ -46,5 +46,6 @@ public class VenserVsKoth extends ExpansionSet {
|
|||
|
||||
private VenserVsKoth() {
|
||||
super("Duel Decks: Venser vs. Koth", "DDI", "mage.sets.venservskoth", new GregorianCalendar(2012, 3, 30).getTime(), SetType.REPRINT);
|
||||
this.hasBasicLands = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
}
|
||||
|
||||
public List<Card> createBooster() {
|
||||
List<Card> booster = new ArrayList<Card>();
|
||||
List<Card> booster = new ArrayList<>();
|
||||
if (!hasBoosters) {
|
||||
return booster;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue