mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
* Added Magic 2015 set.
This commit is contained in:
parent
458ce8c1e6
commit
14a58b0338
23 changed files with 759 additions and 4 deletions
|
|
@ -40,7 +40,8 @@ public class ConstructedFormats {
|
|||
"* Tempest Block", "Exodus", "Stronghold", "Tempest",
|
||||
"* Mirage Block", "Weatherlight", "Visions", "Mirage",
|
||||
"* Ice Age Block", "Coldsnap", "Alliances", "Ice Age",
|
||||
"Homelands", "Fallen Empires", "The Dark", "Legends", "Antiquities", "Arabian Nights",
|
||||
"Homelands", "Fallen Empires", "The Dark", "Legends", "Antiquities", "Arabian Nights",
|
||||
"Magic 2015",
|
||||
"Magic 2014",
|
||||
"Magic 2013",
|
||||
"Magic 2012",
|
||||
|
|
@ -391,6 +392,9 @@ public class ConstructedFormats {
|
|||
if (format.equals("Magic 2014")) {
|
||||
return Arrays.asList("M14");
|
||||
}
|
||||
if (format.equals("Magic 2015")) {
|
||||
return Arrays.asList("M15");
|
||||
}
|
||||
if (format.equals("Planechase")) {
|
||||
return Arrays.asList("HOP");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
private static final String[] withMythics = {"M10", "M11", "M12", "M13", "M14", "M15",
|
||||
"DDF", "DDL",
|
||||
"ALA", "CON", "ARB",
|
||||
"ZEN", "WWK", "ROE",
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ public class MagicCardsImageSource implements CardImageSource {
|
|||
put("POR", "portal");
|
||||
put("PO2", "portal-second-age");
|
||||
put("PTK", "portal-three-kingdoms");
|
||||
put("M15", "magic-2015");
|
||||
put("M14", "magic-2014");
|
||||
put("M13", "magic-2013");
|
||||
put("M12", "magic-2012");
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ public class WizardCardsImageSource implements CardImageSource {
|
|||
public WizardCardsImageSource() {
|
||||
sets = new HashMap<>();
|
||||
setsAliases = new HashMap<>();
|
||||
setsAliases.put("M15", "magic2015coreset/cig");
|
||||
setsAliases.put("CNS", "vintagemasters/cig");
|
||||
setsAliases.put("CNS", "conspiracy/cig");
|
||||
setsAliases.put("JOU", "journeyintonyx/cig");
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ public class ImageCache {
|
|||
}
|
||||
TFile file = new TFile(path);
|
||||
if (!file.exists()) {
|
||||
log.warn("File does not exist: " + file.toString());
|
||||
log.debug("File does not exist: " + file.toString());
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,6 @@ dd2=jvc
|
|||
ddd=gvl
|
||||
unh=uh
|
||||
# Remove setname as soon as the images can be downloaded
|
||||
ignore.urls=TOK,EMBLEM
|
||||
ignore.urls=TOK,EMBLEM,M15
|
||||
# sets ordered by release time (newest goes first)
|
||||
token.lookup.order=JOU,BNG,THS,DDL,M14,MMA,DGM,GTC,RTR,M13,AVR,DDI,DKA,ISD,M12,NPH,MBS,SOM,M11,ROE,PVC,WWK,ZEN,M10,GVL,ARB,DVD,CFX,JVC,ALA,EVE,SHM,EVG,MOR,LRW,10E,CLS,CHK
|
||||
Loading…
Add table
Add a link
Reference in a new issue