Added Journey into Nyx set.

This commit is contained in:
LevelX2 2014-04-07 15:40:38 +02:00
parent 38f922a200
commit ce72b0a744
8 changed files with 71 additions and 4 deletions

View file

@ -24,7 +24,7 @@ public class ConstructedFormats {
private static final String[] constructedFormats = {
ALL, STANDARD, EXTENDED, MODERN,
"Commander 2013 Edition",
"* Theros Block", "Born of the Gods", "Theros",
"* Theros Block", "Journey into Nyx", "Born of the Gods", "Theros",
"Magic 2014",
"Modern Masters",
"* Return to Ravnica Block", "Dragon's Maze", "Gatecrash", "Return to Ravnica",
@ -79,7 +79,10 @@ public class ConstructedFormats {
public static List<String> getSetsByFormat(String format) {
if (format.equals("* Theros Block")) {
return Arrays.asList("THS", "BNG");
return Arrays.asList("THS", "BNG","JOU");
}
if (format.equals("Journey into Nyx")) {
return Arrays.asList("JOU");
}
if (format.equals("Born of the Gods")) {
return Arrays.asList("BNG");

View file

@ -42,7 +42,7 @@ public class GathererSets implements Iterable<DownloadJob> {
"ISD", "DKA", "AVR",
"RTR", "GTC", "DGM",
"MMA",
"THS", "BNG"};
"THS", "BNG", "JOU"};
private static final HashMap<String, String> symbolsReplacements = new HashMap<>();
static {

View file

@ -18,6 +18,7 @@ public class MagicCardsImageSource implements CardImageSource {
private static final Map<String, String> setNameReplacement = new HashMap<String, String>() {
{
put("JOU", "journey-into-nyx");
put("BNG", "born-of-the-gods");
put("C13", "commander-2013-edition");
put("THS", "theros");

View file

@ -29,6 +29,7 @@ public class WizardCardsImageSource implements CardImageSource {
public WizardCardsImageSource() {
sets = new HashMap<>();
setsAliases = new HashMap<>();
setsAliases.put("JOU", "journeyintonyx/cig");
setsAliases.put("BNG", "bornofthegods/cig");
setsAliases.put("C13", "commander2013/cig");
setsAliases.put("THS", "theros/cig");