* Born of the Gods - added the new set to MAGE.

This commit is contained in:
LevelX2 2014-01-14 08:41:37 +01:00
parent 9b4011a806
commit 418fa8dd7c
9 changed files with 97 additions and 5 deletions

View file

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

View file

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

View file

@ -16,6 +16,7 @@ public class MagicCardsImageSource implements CardImageSource {
private static final Map<String, String> setNameReplacement = new HashMap<String, String>() {
{
put("BGN", "born-of-the-gods");
put("C13", "commander-2013-edition");
put("THS", "theros");
put("M14", "magic-2014");

View file

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