mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Added Commander 2013 Edition.
This commit is contained in:
parent
c92dc056a0
commit
81c8385237
209 changed files with 10723 additions and 0 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue