Added the Theros set.

This commit is contained in:
LevelX2 2013-09-02 17:10:38 +02:00
parent a5af087347
commit 5496cb4afd
8 changed files with 72 additions and 4 deletions

View file

@ -40,7 +40,8 @@ public class GathererSets implements Iterable<DownloadJob> {
"CMD", "PC2",
"ISD", "DKA", "AVR",
"RTR", "GTC", "DGM",
"MMA" };
"MMA",
"THS"};
private static final HashMap<String, String> symbolsReplacements = new HashMap<String, String>();
static {

View file

@ -16,6 +16,7 @@ public class MagicCardsImageSource implements CardImageSource {
private static final Map<String, String> setNameReplacement = new HashMap<String, String>() {
{
put("THS", "theros");
put("M14", "magic-2014");
put("MMA", "modern-masters");
put("DGM", "dragons-maze");

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