Added Commander 2013 Edition.

This commit is contained in:
LevelX2 2013-10-31 08:23:29 +01:00
parent c92dc056a0
commit 81c8385237
209 changed files with 10723 additions and 0 deletions

View file

@ -23,6 +23,7 @@ public class ConstructedFormats {
private static final String[] constructedFormats = {
ALL, STANDARD, EXTENDED, MODERN,
"Commander 2013 Edition",
"* Theros Block", "Theros",
"Magic 2014",
"Modern Masters",
@ -370,6 +371,9 @@ public class ConstructedFormats {
if (format.equals("Commander")) {
return Arrays.asList("CMD");
}
if (format.equals("Commander 2013 Edition")) {
return Arrays.asList("C13");
}
if (format.equals("Planechase 2012")) {
return Arrays.asList("PC2");
}

View file

@ -16,6 +16,7 @@ public class MagicCardsImageSource implements CardImageSource {
private static final Map<String, String> setNameReplacement = new HashMap<String, String>() {
{
put("C13", "commander-2013-edition");
put("THS", "theros");
put("M14", "magic-2014");
put("DDL", "duel-decks-heroes-vs-monsters");

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("C13", "commander2013/cig");
setsAliases.put("THS", "theros/cig");
setsAliases.put("M14", "magic2014coreset/cig");
setsAliases.put("MMA", "modernmasters/cig");