mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
[DTK] Updated mtg-cards-data.txt. Added Epic Confrontation. [ORI] Added set Magic Origins. [MMB] Added set Modern Masters 2015 and Karn/Emrakul/Goyf reprints.
This commit is contained in:
parent
72f517d420
commit
392631953d
15 changed files with 401 additions and 15 deletions
|
|
@ -49,6 +49,7 @@ public class ConstructedFormats {
|
|||
"* Mirage Block", "Weatherlight", "Visions", "Mirage",
|
||||
"* Ice Age Block", "Coldsnap", "Alliances", "Ice Age",
|
||||
"Homelands", "Fallen Empires", "The Dark", "Legends", "Antiquities", "Arabian Nights",
|
||||
"Magic Origina",
|
||||
"Magic 2015",
|
||||
"Magic 2014",
|
||||
"Magic 2013",
|
||||
|
|
@ -66,6 +67,7 @@ public class ConstructedFormats {
|
|||
"Vintage Masters",
|
||||
"Conspiracy",
|
||||
"Modern Masters",
|
||||
"Modern Masters 2015",
|
||||
"Archenemy",
|
||||
"Commander 2014 Edition",
|
||||
"Commander 2013 Edition",
|
||||
|
|
@ -430,6 +432,9 @@ public class ConstructedFormats {
|
|||
if (format.equals("Magic 2015")) {
|
||||
return Arrays.asList("M15");
|
||||
}
|
||||
if (format.equals("Magic Origins")) {
|
||||
return Arrays.asList("ORI");
|
||||
}
|
||||
if (format.equals("Archenemy")) {
|
||||
return Arrays.asList("ARC");
|
||||
}
|
||||
|
|
@ -451,6 +456,9 @@ public class ConstructedFormats {
|
|||
if (format.equals("Modern Masters")) {
|
||||
return Arrays.asList("MMA");
|
||||
}
|
||||
if (format.equals("Modern Masters 2015")) {
|
||||
return Arrays.asList("MMB");
|
||||
}
|
||||
if (format.equals("Conspiracy")) {
|
||||
return Arrays.asList("CNS");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ public class GathererSets implements Iterable<DownloadJob> {
|
|||
"SHM", "EVE",
|
||||
"POR", "PO2", "PTK"};
|
||||
|
||||
private static final String[] withMythics = {"M10", "M11", "M12", "M13", "M14", "M15",
|
||||
private static final String[] withMythics = {"M10", "M11", "M12", "M13", "M14", "M15", "ORI",
|
||||
"DDF", "DDG", "DDH", "DDI", "DDJ", "DDK", "DDL", "DDM", "DDN",
|
||||
"ALA", "CON", "ARB",
|
||||
"ZEN", "WWK", "ROE",
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@ public class MagicCardsImageSource implements CardImageSource {
|
|||
|
||||
private static final Map<String, String> setNameTokenReplacement = new HashMap<String, String>() {
|
||||
{
|
||||
put("ORI", "magic-origins");
|
||||
put("MMB", "modern-masters-2015");
|
||||
put("PTC", "prerelease-events");
|
||||
put("DTK", "dragons-of-tarkir");
|
||||
put("GRC","wpngateway");
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ public class WizardCardsImageSource implements CardImageSource {
|
|||
public WizardCardsImageSource() {
|
||||
sets = new HashMap<>();
|
||||
setsAliases = new HashMap<>();
|
||||
setsAliases.put("DTK", "dragonsoftarkir/cig");
|
||||
setsAliases.put("DTK", "magicorigins/cig");
|
||||
setsAliases.put("DTK", "modernmasters2015/cig");
|
||||
setsAliases.put("FRF", "fatereforged/cig");
|
||||
setsAliases.put("C14", "commander2014/cig");
|
||||
setsAliases.put("KTK", "khansoftarkir/cig");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue