mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
[KTK] Added Kahns of Tarkir set.
This commit is contained in:
parent
c716128f72
commit
cb835f4f9b
9 changed files with 128 additions and 3 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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<>();
|
||||
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue