mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
[M13] added set
This commit is contained in:
parent
e00a25a857
commit
6395e82e47
12 changed files with 871 additions and 401 deletions
|
|
@ -197,7 +197,7 @@ public class CardsStorage {
|
|||
readUnimplemented("ZEN", "/zen.txt", names, cards);
|
||||
readUnimplemented("WWK", "/wwk.txt", names, cards);
|
||||
readUnimplemented("ROE", "/roe.txt", names, cards);
|
||||
readUnimplemented("AVR", "/avr.txt", names, cards);
|
||||
readUnimplemented("M13", "/m13.txt", names, cards);
|
||||
|
||||
names.clear();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ public class MageBook extends JComponent {
|
|||
private HoverButton pageRight;
|
||||
|
||||
private int currentPage = 0;
|
||||
private String currentSet = "AVR";
|
||||
private String currentSet = "M13";
|
||||
|
||||
private static CardDimensions cardDimensions = new CardDimensions(1.2d);
|
||||
private static final Logger log = Logger.getLogger(MageBook.class);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public class GathererSets implements Iterable<DownloadJob> {
|
|||
private static File outDir = DEFAULT_OUT_DIR;
|
||||
|
||||
private static final String[] symbols = {"10E", "HOP", "TMP", "INV", "PLS", "APC", "MRD", "DST", "5DN", "CHK", "BOK", "SOK", "RAV", "GPT", "DIS", "TSP", "TSB", "PLC", "FUT", "LRW", "MOR", "SHM", "EVE", "USG", "9ED", "8ED", "ONS", "ULG", "WTH"};
|
||||
private static final String[] withMythics = {"M10", "M11", "M12", "DDF", "ALA", "CFX", "ARB", "ZEN", "WWK", "ROE", "SOM", "MBS", "NPH", "ISD", "DKA", "AVR"};
|
||||
private static final String[] withMythics = {"M10", "M11", "M12", "M13", "DDF", "ALA", "CFX", "ARB", "ZEN", "WWK", "ROE", "SOM", "MBS", "NPH", "ISD", "DKA", "AVR"};
|
||||
private static final HashMap<String, String> symbolsReplacements = new HashMap<String, String>();
|
||||
|
||||
static {
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ public class MagicCardsImageSource implements CardImageSource {
|
|||
private static final Map<String, String> setNameReplacement = new HashMap<String, String>() {
|
||||
|
||||
{
|
||||
put("M13", "magic-2013");
|
||||
put("AVR", "avacyn-restored");
|
||||
put("DDI", "duel-decks-venser-vs-koth");
|
||||
put("DKA", "dark-ascension");
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ public class WizardCardsImageSource implements CardImageSource {
|
|||
public WizardCardsImageSource() {
|
||||
sets = new HashMap();
|
||||
setsAliases = new HashMap();
|
||||
setsAliases.put("M13", "magic2013/cig");
|
||||
setsAliases.put("AVR", "avacynrestored/cig");
|
||||
setsAliases.put("DKA", "darkascension/cig");
|
||||
setsAliases.put("ISD", "innistrad/cig");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue