- Generate 10 lands per art in sealed deck and booster draft modes if there is more than one art available (to avoid spamming the sideboarding window with many hundreds of basic lands) or just generate 30 basic lands of each type if there is only one art for the basic land in set (should still be reasonably enough for any sane limited play).

This commit is contained in:
Agetian
2014-01-21 05:58:56 +00:00
parent 97297f291f
commit 923bddc90d
2 changed files with 4 additions and 4 deletions

View File

@@ -155,12 +155,12 @@ public class CEditorDraftingProcess extends ACEditorBase<PaperCard, DeckGroup> {
final String landSet = IBoosterDraft.LAND_SET_CODE[0].getCode(); final String landSet = IBoosterDraft.LAND_SET_CODE[0].getCode();
final int landsCount = 50; final int landsCount = 10;
for(String landName : MagicColor.Constant.BASIC_LANDS) { for(String landName : MagicColor.Constant.BASIC_LANDS) {
final int numArt = Singletons.getMagicDb().getCommonCards().getArtCount(landName, landSet); final int numArt = Singletons.getMagicDb().getCommonCards().getArtCount(landName, landSet);
for (int i = 0; i < numArt; i++) { for (int i = 0; i < numArt; i++) {
deck.get(DeckSection.Sideboard).add(landName, landSet, i, landsCount); deck.get(DeckSection.Sideboard).add(landName, landSet, i, numArt > 1 ? landsCount : 30);
} }
} }

View File

@@ -171,12 +171,12 @@ public enum CSubmenuSealed implements ICDoc {
final Deck deck = new Deck(sDeckName); final Deck deck = new Deck(sDeckName);
deck.getOrCreate(DeckSection.Sideboard).addAll(humanPool); deck.getOrCreate(DeckSection.Sideboard).addAll(humanPool);
final int landsCount = 50; final int landsCount = 10;
for (final String element : MagicColor.Constant.BASIC_LANDS) { for (final String element : MagicColor.Constant.BASIC_LANDS) {
final int numArt = Singletons.getMagicDb().getCommonCards().getArtCount(element, sd.getLandSetCode()); final int numArt = Singletons.getMagicDb().getCommonCards().getArtCount(element, sd.getLandSetCode());
for (int i = 0; i < numArt; i++) { for (int i = 0; i < numArt; i++) {
deck.get(DeckSection.Sideboard).add(element, sd.getLandSetCode(), i, landsCount); deck.get(DeckSection.Sideboard).add(element, sd.getLandSetCode(), i, numArt > 1 ? landsCount : 30);
} }
} }