mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
* Born of the Gods - added the new set to MAGE.
This commit is contained in:
parent
9b4011a806
commit
418fa8dd7c
9 changed files with 97 additions and 5 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue