mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Added Journey into Nyx set.
This commit is contained in:
parent
38f922a200
commit
ce72b0a744
8 changed files with 71 additions and 4 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue