Added Modern Masters set and already implemented cards.

This commit is contained in:
LevelX2 2013-06-06 21:44:16 +02:00
parent 87fa6f4b7f
commit 00f22afdf0
143 changed files with 7144 additions and 2 deletions

View file

@ -17,6 +17,7 @@ import mage.cards.repository.CardRepository;
public class ConstructedFormats {
private static final String[] constructedFormats = {"- All Sets", "- Standard", "- Extended", "- Modern",
"Modern Masters",
"* Return to Ravnica Block", "Dragon's Maze", "Gatecrash","Return to Ravnica",
"Magic 2013", "Planechase 2012",
"* Innistrad Block", "Avacyn Restored", "Dark Ascension", "Innistrad",
@ -354,6 +355,9 @@ public class ConstructedFormats {
if (format.equals("Planechase 2012")) {
return Arrays.asList("PC2");
}
if (format.equals("Modern Masters")) {
return Arrays.asList("MMA");
}
if (format.equals("Guru")) {
return Arrays.asList("GUR");

View file

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

View file

@ -15,6 +15,7 @@ public class MagicCardsImageSource implements CardImageSource {
private static final Map<String, String> setNameReplacement = new HashMap<String, String>() {
{
put("MMA", "modern-masters");
put("DGM", "dragons-maze");
put("GTC", "gatecrash");
put("RTR", "return-to-ravnica");

View file

@ -28,6 +28,7 @@ public class WizardCardsImageSource implements CardImageSource {
public WizardCardsImageSource() {
sets = new HashMap();
setsAliases = new HashMap();
setsAliases.put("MMA", "modernmasters/cig");
setsAliases.put("DGM", "dragonsmaze/cig");
setsAliases.put("GTC", "gatecrash/cig");
setsAliases.put("RTR", "returntoravnica/cig");

View file

@ -62,4 +62,4 @@ mpr=mprp
# Remove DGM as sson as the images can be downloaded
ignore.urls=TOK,EMBLEM
# sets ordered by release time (newest goes first)
token.lookup.order=DGM,GTC,RTR,M13,AVR,DDI,DKA,ISD,M12,NPH,MBS,SOM,M11,ROE,PVC,WWK,ZEN,M10,GVL,ARB,DVD,CFX,JVC,ALA,EVE,SHM,EVG,MOR,LRW,10E,CLS,CHK
token.lookup.order=MMA,DGM,GTC,RTR,M13,AVR,DDI,DKA,ISD,M12,NPH,MBS,SOM,M11,ROE,PVC,WWK,ZEN,M10,GVL,ARB,DVD,CFX,JVC,ALA,EVE,SHM,EVG,MOR,LRW,10E,CLS,CHK