1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-06 09:13:45 -09:00

* Fixed land image downloading from gatherer and handling of Anthology Duel Decks.

This commit is contained in:
LevelX2 2015-04-12 10:37:16 +02:00
parent ed9d0a5fc1
commit 809bf663df
256 changed files with 293 additions and 270 deletions
Mage.Client/src/main/java
Mage.Sets/src/mage/sets
AnthologyDivineVsDemonic.javaAnthologyElvesVsGoblins.javaAnthologyGarrukVsLiliana.javaAnthologyJaceVsChandra.java
anthologydivinevsdemonic
anthologyelvesvsgoblins

View file

@ -527,17 +527,17 @@ public class ConstructedFormats {
if (format.equals("Starter 2000")) {
return Arrays.asList("S00");
}
if (format.equals("Duel Decks: Anthology, Elves vs. Goblins")) {
return Arrays.asList("DD3");
}
if (format.equals("Duel Decks: Anthology, Jace vs. Chandra")) {
return Arrays.asList("DD3");
}
if (format.equals("Duel Decks: Anthology, Divine vs. Demonic")) {
return Arrays.asList("DD3");
return Arrays.asList("DD3A");
}
if (format.equals("Duel Decks: Anthology, Elves vs. Goblins")) {
return Arrays.asList("DD3B");
}
if (format.equals("Duel Decks: Anthology, Garruk vs. Liliana")) {
return Arrays.asList("DD3");
return Arrays.asList("DD3C");
}
if (format.equals("Duel Decks: Anthology, Jace vs. Chandra")) {
return Arrays.asList("DD3D");
}
if (format.equals("Duel Decks: Elves vs. Goblins")) {
return Arrays.asList("EVG");

View file

@ -34,7 +34,8 @@ public class GathererSets implements Iterable<DownloadJob> {
"POR", "PO2", "PTK"};
private static final String[] withMythics = {"M10", "M11", "M12", "M13", "M14", "M15", "ORI",
"DDF", "DDG", "DDH", "DDI", "DDJ", "DDK", "DDL", "DDM", "DDN", "DD3", "DDO",
"DDF", "DDG", "DDH", "DDI", "DDJ", "DDK", "DDL", "DDM", "DDN",
"DD3", "DD3B", "DDO",
"ALA", "CON", "ARB",
"ZEN", "WWK", "ROE",
"SOM", "MBS", "NPH",
@ -80,6 +81,10 @@ public class GathererSets implements Iterable<DownloadJob> {
symbolsReplacements.put("2ED", "2U");
symbolsReplacements.put("LEB", "2E");
symbolsReplacements.put("LEA", "1E");
symbolsReplacements.put("DD3A", "DD3");
symbolsReplacements.put("DD3B", "DD3");
symbolsReplacements.put("DD3C", "DD3");
symbolsReplacements.put("DD3D", "DD3");
}
public GathererSets(String path) {

View file

@ -76,10 +76,10 @@ public class MagicCardsImageSource implements CardImageSource {
put("M10", "magic-2010");
put("EVG", "duel-decks-elves-vs-goblins");
put("DD2", "duel-decks-jace-vs-chandra");
put("DD3", "duel-decks-anthology-elves-vs-goblins");
put("DD3", "duel-decks-anthology-divine-vs-demonic");
put("DD3", "duel-decks-anthology-garruk-vs-liliana");
put("DD3", "duel-decks-anthology-jace-vs-chandra");
put("DD3A", "duel-decks-anthology-divine-vs-demonic");
put("DD3B", "duel-decks-anthology-elves-vs-goblins");
put("DD3C", "duel-decks-anthology-garruk-vs-liliana");
put("DD3D", "duel-decks-anthology-jace-vs-chandra");
put("DDC", "duel-decks-divine-vs-demonic");
put("DDD", "duel-decks-garruk-vs-liliana");
put("DDE", "duel-decks-phyrexia-vs-the-coalition");

View file

@ -16,6 +16,7 @@ import mage.remote.Connection;
import mage.remote.Connection.ProxyType;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.mage.plugins.card.images.CardDownloadData;
@ -76,7 +77,10 @@ public class WizardCardsImageSource implements CardImageSource {
setsAliases.put("CON", "Conflux");
setsAliases.put("CSP", "Coldsnap");
setsAliases.put("DD2", "Duel Decks: Jace vs. Chandra");
setsAliases.put("DD3", "Duel Decks Anthology, Divine vs. Demonic^Duel Decks Anthology, Elves vs. Goblins^Duel Decks Anthology, Garruk vs. Liliana^Duel Decks Anthology, Jace vs. Chandra");
setsAliases.put("DD3A", "Duel Decks Anthology, Divine vs. Demonic");
setsAliases.put("DD3B", "Duel Decks Anthology, Elves vs. Goblins");
setsAliases.put("DD3C", "Duel Decks Anthology, Garruk vs. Liliana");
setsAliases.put("DD3D", "Duel Decks Anthology, Jace vs. Chandra");
setsAliases.put("DDC", "Duel Decks: Divine vs. Demonic");
setsAliases.put("DDD", "Duel Decks: Garruk vs. Liliana");
setsAliases.put("DDE", "Duel Decks: Phyrexia vs. the Coalition");
@ -221,7 +225,7 @@ public class WizardCardsImageSource implements CardImageSource {
uc.connect();
String line = null;
String line;
StringBuffer tmp = new StringBuffer();
BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
while ((line = in.readLine()) != null) {
@ -246,13 +250,20 @@ public class WizardCardsImageSource implements CardImageSource {
String cardName = normalizeName(cardsImages.get(i).attr("alt"));
if (cardName != null && !cardName.isEmpty()) {
if (cardName.equals("Forest") || cardName.equals("Swamp") || cardName.equals("Mountain") || cardName.equals("Island") || cardName.equals("Plains")) {
Integer multiverseId = Integer.parseInt(cardsImages.get(i).attr("src").replaceAll("[^\\d]", ""));
String urlLandDocument = "http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=" + multiverseId;
Document landDoc = Jsoup.connect(urlLandDocument).get();
Elements variations = landDoc.select("a.variationlink");
int landNumber = 1;
while (setLinks.get((cardName + landNumber).toLowerCase()) != null) {
for (Element variation : variations) {
Integer landMultiverseId = Integer.parseInt(variation.attr("onclick").replaceAll("[^\\d]", ""));
// ""
setLinks.put((cardName + landNumber).toLowerCase(), "/Handlers/Image.ashx?multiverseid=" +landMultiverseId + "&type=card");
landNumber++;
}
cardName += landNumber;
} else {
setLinks.put(cardName.toLowerCase(), cardsImages.get(i).attr("src").substring(5));
}
setLinks.put(cardName.toLowerCase(), cardsImages.get(i).attr("src").substring(5));
}
}
page++;

View file

@ -43,7 +43,7 @@ public class AnthologyDivineVsDemonic extends ExpansionSet {
}
private AnthologyDivineVsDemonic() {
super("Duel Decks: Anthology, Divine vs. Demonic", "DD3", "mage.sets.anthologydivinevsdemonic", new GregorianCalendar(2014, 12, 5).getTime(), SetType.DUEL_DECK);
super("Duel Decks: Anthology, Divine vs. Demonic", "DD3A", "mage.sets.anthologydivinevsdemonic", new GregorianCalendar(2014, 12, 5).getTime(), SetType.DUEL_DECK);
this.hasBasicLands = false;
}
}

View file

@ -43,7 +43,7 @@ public class AnthologyElvesVsGoblins extends ExpansionSet {
}
private AnthologyElvesVsGoblins() {
super("Duel Decks: Anthology, Elves vs. Goblins", "DD3", "mage.sets.anthologyelvesvsgoblins", new GregorianCalendar(2014, 12, 5).getTime(), SetType.DUEL_DECK);
super("Duel Decks: Anthology, Elves vs. Goblins", "DD3B", "mage.sets.anthologyelvesvsgoblins", new GregorianCalendar(2014, 12, 5).getTime(), SetType.DUEL_DECK);
this.hasBasicLands = false;
}
}

View file

@ -43,7 +43,7 @@ public class AnthologyGarrukVsLiliana extends ExpansionSet {
}
private AnthologyGarrukVsLiliana() {
super("Duel Decks: Anthology, Garruk vs. Liliana", "DD3", "mage.sets.anthologygarrukvsliliana", new GregorianCalendar(2014, 12, 5).getTime(), SetType.DUEL_DECK);
super("Duel Decks: Anthology, Garruk vs. Liliana", "DD3C", "mage.sets.anthologygarrukvsliliana", new GregorianCalendar(2014, 12, 5).getTime(), SetType.DUEL_DECK);
this.hasBasicLands = false;
}
}

View file

@ -43,7 +43,7 @@ public class AnthologyJaceVsChandra extends ExpansionSet {
}
private AnthologyJaceVsChandra() {
super("Duel Decks: Anthology, Jace vs. Chandra", "DD3", "mage.sets.anthologyjacevschandra", new GregorianCalendar(2014, 12, 5).getTime(), SetType.DUEL_DECK);
super("Duel Decks: Anthology, Jace vs. Chandra", "DD3D", "mage.sets.anthologyjacevschandra", new GregorianCalendar(2014, 12, 5).getTime(), SetType.DUEL_DECK);
this.hasBasicLands = false;
}
}

View file

@ -38,7 +38,7 @@ public class AbyssalGatekeeper extends mage.sets.divinevsdemonic.AbyssalGatekeep
public AbyssalGatekeeper(UUID ownerId) {
super(ownerId);
this.cardNumber = 31;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public AbyssalGatekeeper(final AbyssalGatekeeper card) {

View file

@ -38,7 +38,7 @@ public class AbyssalSpecter extends mage.sets.fifthedition.AbyssalSpecter {
public AbyssalSpecter(UUID ownerId) {
super(ownerId);
this.cardNumber = 40;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public AbyssalSpecter(final AbyssalSpecter card) {

View file

@ -39,7 +39,7 @@ public class AkromaAngelOfWrath extends mage.sets.timeshifted.AkromaAngelOfWrath
public AkromaAngelOfWrath(UUID ownerId) {
super(ownerId);
this.cardNumber = 1;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
this.rarity = Rarity.MYTHIC;
}

View file

@ -38,7 +38,7 @@ public class AngelOfMercy extends mage.sets.tenth.AngelOfMercy {
public AngelOfMercy(UUID ownerId) {
super(ownerId);
this.cardNumber = 9;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public AngelOfMercy(final AngelOfMercy card) {

View file

@ -38,7 +38,7 @@ public class AngelicBenediction extends mage.sets.shardsofalara.AngelicBenedicti
public AngelicBenediction(UUID ownerId) {
super(ownerId);
this.cardNumber = 19;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public AngelicBenediction(final AngelicBenediction card) {

View file

@ -38,7 +38,7 @@ public class AngelicPage extends mage.sets.urzassaga.AngelicPage {
public AngelicPage(UUID ownerId) {
super(ownerId);
this.cardNumber = 3;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public AngelicPage(final AngelicPage card) {

View file

@ -38,7 +38,7 @@ public class AngelicProtector extends mage.sets.tempest.AngelicProtector {
public AngelicProtector(UUID ownerId) {
super(ownerId);
this.cardNumber = 6;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public AngelicProtector(final AngelicProtector card) {

View file

@ -38,7 +38,7 @@ public class AngelsFeather extends mage.sets.tenth.AngelsFeather {
public AngelsFeather(UUID ownerId) {
super(ownerId);
this.cardNumber = 23;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public AngelsFeather(final AngelsFeather card) {

View file

@ -38,7 +38,7 @@ public class Angelsong extends mage.sets.shardsofalara.Angelsong {
public Angelsong(UUID ownerId) {
super(ownerId);
this.cardNumber = 15;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Angelsong(final Angelsong card) {

View file

@ -38,7 +38,7 @@ public class BarrenMoor extends mage.sets.onslaught.BarrenMoor {
public BarrenMoor(UUID ownerId) {
super(ownerId);
this.cardNumber = 58;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public BarrenMoor(final BarrenMoor card) {

View file

@ -38,7 +38,7 @@ public class BarterInBlood extends mage.sets.avacynrestored.BarterInBlood {
public BarterInBlood(UUID ownerId) {
super(ownerId);
this.cardNumber = 52;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public BarterInBlood(final BarterInBlood card) {

View file

@ -38,7 +38,7 @@ public class BreedingPit extends mage.sets.fifthedition.BreedingPit {
public BreedingPit(UUID ownerId) {
super(ownerId);
this.cardNumber = 53;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public BreedingPit(final BreedingPit card) {

View file

@ -38,7 +38,7 @@ public class CacklingImp extends mage.sets.divinevsdemonic.CacklingImp {
public CacklingImp(UUID ownerId) {
super(ownerId);
this.cardNumber = 41;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public CacklingImp(final CacklingImp card) {

View file

@ -38,7 +38,7 @@ public class ChargingPaladin extends mage.sets.divinevsdemonic.ChargingPaladin {
public ChargingPaladin(UUID ownerId) {
super(ownerId);
this.cardNumber = 4;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public ChargingPaladin(final ChargingPaladin card) {

View file

@ -38,7 +38,7 @@ public class ConsumeSpirit extends mage.sets.magic2010.ConsumeSpirit {
public ConsumeSpirit(UUID ownerId) {
super(ownerId);
this.cardNumber = 56;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public ConsumeSpirit(final ConsumeSpirit card) {

View file

@ -38,7 +38,7 @@ public class Corrupt extends mage.sets.magic2011.Corrupt {
public Corrupt(UUID ownerId) {
super(ownerId);
this.cardNumber = 55;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Corrupt(final Corrupt card) {

View file

@ -38,7 +38,7 @@ public class CruelEdict extends mage.sets.tenth.CruelEdict {
public CruelEdict(UUID ownerId) {
super(ownerId);
this.cardNumber = 48;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public CruelEdict(final CruelEdict card) {

View file

@ -38,7 +38,7 @@ public class DaggerclawImp extends mage.sets.guildpact.DaggerclawImp {
public DaggerclawImp(UUID ownerId) {
super(ownerId);
this.cardNumber = 33;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public DaggerclawImp(final DaggerclawImp card) {

View file

@ -38,7 +38,7 @@ public class DarkBanishing extends mage.sets.tempest.DarkBanishing {
public DarkBanishing(UUID ownerId) {
super(ownerId);
this.cardNumber = 50;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public DarkBanishing(final DarkBanishing card) {

View file

@ -38,7 +38,7 @@ public class DarkRitual extends mage.sets.planechase.DarkRitual {
public DarkRitual(UUID ownerId) {
super(ownerId);
this.cardNumber = 45;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public DarkRitual(final DarkRitual card) {

View file

@ -38,7 +38,7 @@ public class DemonicTutor extends mage.sets.limitedalpha.DemonicTutor {
public DemonicTutor(UUID ownerId) {
super(ownerId);
this.cardNumber = 49;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public DemonicTutor(final DemonicTutor card) {

View file

@ -38,7 +38,7 @@ public class DemonsHorn extends mage.sets.tenth.DemonsHorn {
public DemonsHorn(UUID ownerId) {
super(ownerId);
this.cardNumber = 57;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public DemonsHorn(final DemonsHorn card) {

View file

@ -38,7 +38,7 @@ public class DemonsJester extends mage.sets.dissension.DemonsJester {
public DemonsJester(UUID ownerId) {
super(ownerId);
this.cardNumber = 38;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public DemonsJester(final DemonsJester card) {

View file

@ -38,7 +38,7 @@ public class Duress extends mage.sets.magic2010.Duress {
public Duress(UUID ownerId) {
super(ownerId);
this.cardNumber = 46;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Duress(final Duress card) {

View file

@ -38,7 +38,7 @@ public class DuskImp extends mage.sets.tenth.DuskImp {
public DuskImp(UUID ownerId) {
super(ownerId);
this.cardNumber = 34;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public DuskImp(final DuskImp card) {

View file

@ -38,7 +38,7 @@ public class FaithsFetters extends mage.sets.divinevsdemonic.FaithsFetters {
public FaithsFetters(UUID ownerId) {
super(ownerId);
this.cardNumber = 20;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public FaithsFetters(final FaithsFetters card) {

View file

@ -38,7 +38,7 @@ public class FallenAngel extends mage.sets.seventhedition.FallenAngel {
public FallenAngel(UUID ownerId) {
super(ownerId);
this.cardNumber = 42;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public FallenAngel(final FallenAngel card) {

View file

@ -38,7 +38,7 @@ public class FoulImp extends mage.sets.stronghold.FoulImp {
public FoulImp(UUID ownerId) {
super(ownerId);
this.cardNumber = 32;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public FoulImp(final FoulImp card) {

View file

@ -38,7 +38,7 @@ public class HealingSalve extends mage.sets.seventhedition.HealingSalve {
public HealingSalve(UUID ownerId) {
super(ownerId);
this.cardNumber = 14;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public HealingSalve(final HealingSalve card) {

View file

@ -38,7 +38,7 @@ public class IcatianPriest extends mage.sets.tenth.IcatianPriest {
public IcatianPriest(UUID ownerId) {
super(ownerId);
this.cardNumber = 2;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public IcatianPriest(final IcatianPriest card) {

View file

@ -38,7 +38,7 @@ public class KuroPitlord extends mage.sets.championsofkamigawa.KuroPitlord {
public KuroPitlord(UUID ownerId) {
super(ownerId);
this.cardNumber = 44;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public KuroPitlord(final KuroPitlord card) {

View file

@ -38,7 +38,7 @@ public class LordOfThePit extends mage.sets.divinevsdemonic.LordOfThePit {
public LordOfThePit(UUID ownerId) {
super(ownerId);
this.cardNumber = 30;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public LordOfThePit(final LordOfThePit card) {

View file

@ -38,7 +38,7 @@ public class LuminousAngel extends mage.sets.mirrodin.LuminousAngel {
public LuminousAngel(UUID ownerId) {
super(ownerId);
this.cardNumber = 12;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public LuminousAngel(final LuminousAngel card) {

View file

@ -38,7 +38,7 @@ public class MarbleDiamond extends mage.sets.seventhedition.MarbleDiamond {
public MarbleDiamond(UUID ownerId) {
super(ownerId);
this.cardNumber = 24;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public MarbleDiamond(final MarbleDiamond card) {

View file

@ -38,7 +38,7 @@ public class OniPossession extends mage.sets.championsofkamigawa.OniPossession {
public OniPossession(UUID ownerId) {
super(ownerId);
this.cardNumber = 51;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public OniPossession(final OniPossession card) {

View file

@ -38,7 +38,7 @@ public class OtherworldlyJourney extends mage.sets.championsofkamigawa.Otherworl
public OtherworldlyJourney(UUID ownerId) {
super(ownerId);
this.cardNumber = 16;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public OtherworldlyJourney(final OtherworldlyJourney card) {

View file

@ -38,7 +38,7 @@ public class OvereagerApprentice extends mage.sets.odyssey.OvereagerApprentice {
public OvereagerApprentice(UUID ownerId) {
super(ownerId);
this.cardNumber = 35;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public OvereagerApprentice(final OvereagerApprentice card) {

View file

@ -38,7 +38,7 @@ public class Pacifism extends mage.sets.tenth.Pacifism {
public Pacifism(UUID ownerId) {
super(ownerId);
this.cardNumber = 17;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Pacifism(final Pacifism card) {

View file

@ -37,7 +37,7 @@ public class Plains1 extends mage.cards.basiclands.Plains {
public Plains1(UUID ownerId) {
super(ownerId, 26);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Plains1(final Plains1 card) {

View file

@ -37,7 +37,7 @@ public class Plains2 extends mage.cards.basiclands.Plains {
public Plains2(UUID ownerId) {
super(ownerId, 27);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Plains2(final Plains2 card) {

View file

@ -37,7 +37,7 @@ public class Plains3 extends mage.cards.basiclands.Plains {
public Plains3(UUID ownerId) {
super(ownerId, 28);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Plains3(final Plains3 card) {

View file

@ -37,7 +37,7 @@ public class Plains4 extends mage.cards.basiclands.Plains {
public Plains4(UUID ownerId) {
super(ownerId, 29);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Plains4(final Plains4 card) {

View file

@ -38,7 +38,7 @@ public class PromiseOfPower extends mage.sets.commander2014.PromiseOfPower {
public PromiseOfPower(UUID ownerId) {
super(ownerId);
this.cardNumber = 54;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public PromiseOfPower(final PromiseOfPower card) {

View file

@ -38,7 +38,7 @@ public class ReiverDemon extends mage.sets.divinevsdemonic.ReiverDemon {
public ReiverDemon(UUID ownerId) {
super(ownerId);
this.cardNumber = 43;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public ReiverDemon(final ReiverDemon card) {

View file

@ -38,7 +38,7 @@ public class ReyaDawnbringer extends mage.sets.tenth.ReyaDawnbringer {
public ReyaDawnbringer(UUID ownerId) {
super(ownerId);
this.cardNumber = 13;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public ReyaDawnbringer(final ReyaDawnbringer card) {

View file

@ -38,7 +38,7 @@ public class RighteousCause extends mage.sets.commander.RighteousCause {
public RighteousCause(UUID ownerId) {
super(ownerId);
this.cardNumber = 22;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public RighteousCause(final RighteousCause card) {

View file

@ -38,7 +38,7 @@ public class SecludedSteppe extends mage.sets.onslaught.SecludedSteppe {
public SecludedSteppe(UUID ownerId) {
super(ownerId);
this.cardNumber = 25;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public SecludedSteppe(final SecludedSteppe card) {

View file

@ -38,7 +38,7 @@ public class SerraAdvocate extends mage.sets.urzasdestiny.SerraAdvocate {
public SerraAdvocate(UUID ownerId) {
super(ownerId);
this.cardNumber = 7;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public SerraAdvocate(final SerraAdvocate card) {

View file

@ -38,7 +38,7 @@ public class SerraAngel extends mage.sets.tenth.SerraAngel {
public SerraAngel(UUID ownerId) {
super(ownerId);
this.cardNumber = 10;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public SerraAngel(final SerraAngel card) {

View file

@ -38,7 +38,7 @@ public class SerrasBoon extends mage.sets.divinevsdemonic.SerrasBoon {
public SerrasBoon(UUID ownerId) {
super(ownerId);
this.cardNumber = 18;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public SerrasBoon(final SerrasBoon card) {

View file

@ -38,7 +38,7 @@ public class SerrasEmbrace extends mage.sets.tenth.SerrasEmbrace {
public SerrasEmbrace(UUID ownerId) {
super(ownerId);
this.cardNumber = 21;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public SerrasEmbrace(final SerrasEmbrace card) {

View file

@ -38,7 +38,7 @@ public class SootImp extends mage.sets.eventide.SootImp {
public SootImp(UUID ownerId) {
super(ownerId);
this.cardNumber = 37;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public SootImp(final SootImp card) {

View file

@ -38,7 +38,7 @@ public class Souldrinker extends mage.sets.tempest.Souldrinker {
public Souldrinker(UUID ownerId) {
super(ownerId);
this.cardNumber = 39;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Souldrinker(final Souldrinker card) {

View file

@ -38,7 +38,7 @@ public class StinkweedImp extends mage.sets.ravnica.StinkweedImp {
public StinkweedImp(UUID ownerId) {
super(ownerId);
this.cardNumber = 36;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public StinkweedImp(final StinkweedImp card) {

View file

@ -38,7 +38,7 @@ public class SustainerOfTheRealm extends mage.sets.urzaslegacy.SustainerOfTheRea
public SustainerOfTheRealm(UUID ownerId) {
super(ownerId);
this.cardNumber = 8;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public SustainerOfTheRealm(final SustainerOfTheRealm card) {

View file

@ -37,7 +37,7 @@ public class Swamp1 extends mage.cards.basiclands.Swamp {
public Swamp1(UUID ownerId) {
super(ownerId, 59);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Swamp1(final Swamp1 card) {

View file

@ -37,7 +37,7 @@ public class Swamp2 extends mage.cards.basiclands.Swamp {
public Swamp2(UUID ownerId) {
super(ownerId, 60);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Swamp2(final Swamp2 card) {

View file

@ -37,7 +37,7 @@ public class Swamp3 extends mage.cards.basiclands.Swamp {
public Swamp3(UUID ownerId) {
super(ownerId, 61);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Swamp3(final Swamp3 card) {

View file

@ -37,7 +37,7 @@ public class Swamp4 extends mage.cards.basiclands.Swamp {
public Swamp4(UUID ownerId) {
super(ownerId, 62);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public Swamp4(final Swamp4 card) {

View file

@ -38,7 +38,7 @@ public class TwilightShepherd extends mage.sets.shadowmoor.TwilightShepherd {
public TwilightShepherd(UUID ownerId) {
super(ownerId);
this.cardNumber = 11;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public TwilightShepherd(final TwilightShepherd card) {

View file

@ -38,7 +38,7 @@ public class UnholyStrength extends mage.sets.tenth.UnholyStrength {
public UnholyStrength(UUID ownerId) {
super(ownerId);
this.cardNumber = 47;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public UnholyStrength(final UnholyStrength card) {

View file

@ -38,7 +38,7 @@ public class VenerableMonk extends mage.sets.tenth.VenerableMonk {
public VenerableMonk(UUID ownerId) {
super(ownerId);
this.cardNumber = 5;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3A";
}
public VenerableMonk(final VenerableMonk card) {

View file

@ -38,7 +38,7 @@ public class AkkiCoalflinger extends mage.sets.championsofkamigawa.AkkiCoalfling
public AkkiCoalflinger(UUID ownerId) {
super(ownerId);
this.cardNumber = 33;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public AkkiCoalflinger(final AkkiCoalflinger card) {

View file

@ -38,7 +38,7 @@ public class AllosaurusRider extends mage.sets.elvesvsgoblins.AllosaurusRider {
public AllosaurusRider(UUID ownerId) {
super(ownerId);
this.cardNumber = 2;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public AllosaurusRider(final AllosaurusRider card) {

View file

@ -38,7 +38,7 @@ public class AmbushCommander extends mage.sets.elvesvsgoblins.AmbushCommander {
public AmbushCommander(UUID ownerId) {
super(ownerId);
this.cardNumber = 1;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public AmbushCommander(final AmbushCommander card) {

View file

@ -38,7 +38,7 @@ public class BoggartShenanigans extends mage.sets.elvesvsgoblins.BoggartShenanig
public BoggartShenanigans(UUID ownerId) {
super(ownerId);
this.cardNumber = 54;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public BoggartShenanigans(final BoggartShenanigans card) {

View file

@ -38,7 +38,7 @@ public class Clickslither extends mage.sets.elvesvsgoblins.Clickslither {
public Clickslither(UUID ownerId) {
super(ownerId);
this.cardNumber = 34;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public Clickslither(final Clickslither card) {

View file

@ -38,7 +38,7 @@ public class ElvishEulogist extends mage.sets.lorwyn.ElvishEulogist {
public ElvishEulogist(UUID ownerId) {
super(ownerId);
this.cardNumber = 3;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public ElvishEulogist(final ElvishEulogist card) {

View file

@ -38,7 +38,7 @@ public class ElvishHarbinger extends mage.sets.lorwyn.ElvishHarbinger {
public ElvishHarbinger(UUID ownerId) {
super(ownerId);
this.cardNumber = 4;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public ElvishHarbinger(final ElvishHarbinger card) {

View file

@ -38,7 +38,7 @@ public class ElvishPromenade extends mage.sets.lorwyn.ElvishPromenade {
public ElvishPromenade(UUID ownerId) {
super(ownerId);
this.cardNumber = 20;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public ElvishPromenade(final ElvishPromenade card) {

View file

@ -38,7 +38,7 @@ public class ElvishWarrior extends mage.sets.morningtide.ElvishWarrior {
public ElvishWarrior(UUID ownerId) {
super(ownerId);
this.cardNumber = 5;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public ElvishWarrior(final ElvishWarrior card) {

View file

@ -38,7 +38,7 @@ public class EmberwildeAugur extends mage.sets.elvesvsgoblins.EmberwildeAugur {
public EmberwildeAugur(UUID ownerId) {
super(ownerId);
this.cardNumber = 35;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public EmberwildeAugur(final EmberwildeAugur card) {

View file

@ -38,7 +38,7 @@ public class FlamewaveInvoker extends mage.sets.tenth.FlamewaveInvoker {
public FlamewaveInvoker(UUID ownerId) {
super(ownerId);
this.cardNumber = 36;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public FlamewaveInvoker(final FlamewaveInvoker card) {

View file

@ -37,7 +37,7 @@ public class Forest1 extends mage.cards.basiclands.Forest {
public Forest1(UUID ownerId) {
super(ownerId, 28);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public Forest1(final Forest1 card) {

View file

@ -37,7 +37,7 @@ public class Forest2 extends mage.cards.basiclands.Forest {
public Forest2(UUID ownerId) {
super(ownerId, 29);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public Forest2(final Forest2 card) {

View file

@ -37,7 +37,7 @@ public class Forest3 extends mage.cards.basiclands.Forest {
public Forest3(UUID ownerId) {
super(ownerId, 30);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public Forest3(final Forest3 card) {

View file

@ -37,7 +37,7 @@ public class Forest4 extends mage.cards.basiclands.Forest {
public Forest4(UUID ownerId) {
super(ownerId, 31);
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public Forest4(final Forest4 card) {

View file

@ -38,7 +38,7 @@ public class ForgottenCave extends mage.sets.onslaught.ForgottenCave {
public ForgottenCave(UUID ownerId) {
super(ownerId);
this.cardNumber = 57;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public ForgottenCave(final ForgottenCave card) {

View file

@ -38,7 +38,7 @@ public class GempalmIncinerator extends mage.sets.legions.GempalmIncinerator {
public GempalmIncinerator(UUID ownerId) {
super(ownerId);
this.cardNumber = 37;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public GempalmIncinerator(final GempalmIncinerator card) {

View file

@ -38,7 +38,7 @@ public class GempalmStrider extends mage.sets.elvesvsgoblins.GempalmStrider {
public GempalmStrider(UUID ownerId) {
super(ownerId);
this.cardNumber = 6;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public GempalmStrider(final GempalmStrider card) {

View file

@ -38,7 +38,7 @@ public class GiantGrowth extends mage.sets.tenth.GiantGrowth {
public GiantGrowth(UUID ownerId) {
super(ownerId);
this.cardNumber = 21;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public GiantGrowth(final GiantGrowth card) {

View file

@ -38,7 +38,7 @@ public class GoblinBurrows extends mage.sets.onslaught.GoblinBurrows {
public GoblinBurrows(UUID ownerId) {
super(ownerId);
this.cardNumber = 58;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public GoblinBurrows(final GoblinBurrows card) {

View file

@ -38,7 +38,7 @@ public class GoblinCohort extends mage.sets.betrayersofkamigawa.GoblinCohort {
public GoblinCohort(UUID ownerId) {
super(ownerId);
this.cardNumber = 38;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public GoblinCohort(final GoblinCohort card) {

View file

@ -39,7 +39,7 @@ public class GoblinMatron extends mage.sets.urzassaga.GoblinMatron {
public GoblinMatron(UUID ownerId) {
super(ownerId);
this.cardNumber = 39;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
this.rarity = Rarity.UNCOMMON;
}

View file

@ -38,7 +38,7 @@ public class GoblinRingleader extends mage.sets.apocalypse.GoblinRingleader {
public GoblinRingleader(UUID ownerId) {
super(ownerId);
this.cardNumber = 40;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public GoblinRingleader(final GoblinRingleader card) {

View file

@ -38,7 +38,7 @@ public class GoblinSledder extends mage.sets.onslaught.GoblinSledder {
public GoblinSledder(UUID ownerId) {
super(ownerId);
this.cardNumber = 41;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public GoblinSledder(final GoblinSledder card) {

View file

@ -38,7 +38,7 @@ public class GoblinWarchief extends mage.sets.scourge.GoblinWarchief {
public GoblinWarchief(UUID ownerId) {
super(ownerId);
this.cardNumber = 42;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public GoblinWarchief(final GoblinWarchief card) {

View file

@ -38,7 +38,7 @@ public class Harmonize extends mage.sets.planarchaos.Harmonize {
public Harmonize(UUID ownerId) {
super(ownerId);
this.cardNumber = 22;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public Harmonize(final Harmonize card) {

View file

@ -38,7 +38,7 @@ public class HeedlessOne extends mage.sets.onslaught.HeedlessOne {
public HeedlessOne(UUID ownerId) {
super(ownerId);
this.cardNumber = 7;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public HeedlessOne(final HeedlessOne card) {

View file

@ -38,7 +38,7 @@ public class IbHalfheartGoblinTactician extends mage.sets.elvesvsgoblins.IbHalfh
public IbHalfheartGoblinTactician(UUID ownerId) {
super(ownerId);
this.cardNumber = 43;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public IbHalfheartGoblinTactician(final IbHalfheartGoblinTactician card) {

View file

@ -38,7 +38,7 @@ public class ImperiousPerfect extends mage.sets.lorwyn.ImperiousPerfect {
public ImperiousPerfect(UUID ownerId) {
super(ownerId);
this.cardNumber = 8;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public ImperiousPerfect(final ImperiousPerfect card) {

View file

@ -38,7 +38,7 @@ public class LlanowarElves extends mage.sets.tenth.LlanowarElves {
public LlanowarElves(UUID ownerId) {
super(ownerId);
this.cardNumber = 9;
this.expansionSetCode = "DD3";
this.expansionSetCode = "DD3B";
}
public LlanowarElves(final LlanowarElves card) {

Some files were not shown because too many files have changed in this diff Show more