mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Added Planechase 2012 edition to mage. Added missing Planechase entry to set selector.
This commit is contained in:
parent
35f90e8b57
commit
5e4d0a2008
7 changed files with 68 additions and 3 deletions
|
|
@ -6,11 +6,11 @@ import java.util.Date;
|
|||
import java.util.GregorianCalendar;
|
||||
import java.util.List;
|
||||
import mage.cards.ExpansionSet;
|
||||
import mage.cards.repository.CardRepository;
|
||||
import mage.cards.Sets;
|
||||
import mage.cards.repository.CardRepository;
|
||||
|
||||
/**
|
||||
* Utility class for constructed formats.
|
||||
* Utility class for constructed formats (expansions and other editions).
|
||||
*
|
||||
* @author nantuko
|
||||
*/
|
||||
|
|
@ -19,8 +19,10 @@ public class ConstructedFormats {
|
|||
private static final String[] constructedFormats = {"- All Sets", "- Standard", "- Extended", "- Modern",
|
||||
"* Return to Ravnica Block", "Return to Ravnica", "Magic 2013",
|
||||
"* Innistrad Block", "Avacyn Restored", "Dark Ascension", "Innistrad", "Magic 2012",
|
||||
"Planechase 2012",
|
||||
"* Scars of Mirrodin Block", "New Phyrexia", "Mirrodin Besieged", "Scars of Mirrodin", "Magic 2011",
|
||||
"* Zendikar Block", "Rise of the Eldrazi", "Worldwake", "Zendikar", "Magic 2010",
|
||||
"Planechase",
|
||||
"* Shards of Alara Block", "Alara Reborn", "Conflux", "Shards of Alara",
|
||||
"* Shadowmoor Block", "Shadowmoor", "Eventide",
|
||||
"* Lorwyn Block", "Lorwyn", "Morningtide",
|
||||
|
|
@ -324,6 +326,13 @@ public class ConstructedFormats {
|
|||
if (format.equals("Magic 2013")) {
|
||||
return Arrays.asList("M13");
|
||||
}
|
||||
if (format.equals("Planechase")) {
|
||||
return Arrays.asList("HOP");
|
||||
}
|
||||
if (format.equals("Planechase 2012")) {
|
||||
return Arrays.asList("PC2");
|
||||
}
|
||||
|
||||
if (format.equals("Guru")) {
|
||||
return Arrays.asList("GUR");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ public class GathererSets implements Iterable<DownloadJob> {
|
|||
private static File outDir = DEFAULT_OUT_DIR;
|
||||
|
||||
private static final String[] symbols = {"10E", "9ED", "8ED", "7ED", "6ED", "5ED", "4ED",
|
||||
"HOP",
|
||||
"HOP","PC2",
|
||||
"ARN", "ATQ", "LEG", "DRK", "FEM", "HML",
|
||||
"ICE", "ALL", "CSP",
|
||||
"MIR", "VIS", "WTH",
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ public class MagicCardsImageSource implements CardImageSource {
|
|||
put("WWK", "worldwake");
|
||||
put("ZEN", "zendikar");
|
||||
put("HOP", "planechase");
|
||||
put("PC2", "planechase-2012-edition");
|
||||
put("M10", "magic-2010");
|
||||
put("GVL", "duel-decks-garruk-vs-liliana");
|
||||
put("ARB", "alara-reborn");
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ public class WizardCardsImageSource implements CardImageSource {
|
|||
setsAliases.put("ARB", "alarareborn/spoiler");
|
||||
setsAliases.put("CON", "conflux/spoiler");
|
||||
setsAliases.put("ALA", "shardsofalara/spoiler");
|
||||
setsAliases.put("HOP", "planechase/cig");
|
||||
setsAliases.put("PC2", "planechase2012edition/cig");
|
||||
}
|
||||
|
||||
private Map<String, String> getSetLinks(String cardSet) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue