[KTK] Added Kahns of Tarkir set.

This commit is contained in:
LevelX2 2014-09-01 19:25:32 +02:00
parent c716128f72
commit cb835f4f9b
9 changed files with 128 additions and 3 deletions

View file

@ -20,6 +20,7 @@ public class ConstructedFormats {
private static final String[] constructedFormats = {
ALL, STANDARD, EXTENDED, MODERN,
"* Khans of Tarkir Block", "Khans of Tarkir", /*"Fate Reforged",*/
"* Theros Block", "Journey into Nyx", "Born of the Gods", "Theros",
"* Return to Ravnica Block", "Dragon's Maze", "Gatecrash", "Return to Ravnica",
"* Innistrad Block", "Avacyn Restored", "Dark Ascension", "Innistrad",
@ -89,7 +90,12 @@ public class ConstructedFormats {
}
public static List<String> getSetsByFormat(String format) {
if (format.equals("* Khans of Tarkir Block")) {
return Arrays.asList("KTK", "FRF");
}
if (format.equals("Khans of Tarkir")) {
return Arrays.asList("KTK");
}
if (format.equals("* Theros Block")) {
return Arrays.asList("THS", "BNG","JOU");
}

View file

@ -43,7 +43,8 @@ public class GathererSets implements Iterable<DownloadJob> {
"RTR", "GTC", "DGM",
"MMA",
"THS", "BNG", "JOU",
"CNS", "VMA"
"CNS", "VMA",
"KTK", "FRF"
};
private static final HashMap<String, String> symbolsReplacements = new HashMap<>();

View file

@ -16,6 +16,7 @@ public class MagicCardsImageSource implements CardImageSource {
private static final Map<String, String> setNameReplacement = new HashMap<String, String>() {
{
put("KTK", "khans-of-tarkir");
put("VMA", "vintage-masters");
put("CNS", "conspiracy");
put("JOU", "journey-into-nyx");