mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Finish meld fix, add S00 lands
This commit is contained in:
parent
922d66a8e8
commit
dd929ad622
3 changed files with 18 additions and 2 deletions
|
@ -179,6 +179,11 @@ public enum ScryfallImageSource implements CardImageSource {
|
|||
|
||||
// if a S00 card is in 6ED, it's actually a 6ED card
|
||||
if (card.getSet().equals("S00") && sixthEditionCards.stream().anyMatch(sixthEditionCard -> sixthEditionCard.getName().equals(card.getName()))) {
|
||||
// we have direct links for the lands because there are multiple search results
|
||||
if (card.getUsesVariousArt()) { // lands are the only defined multiple art cards in S00 in XMage
|
||||
continue;
|
||||
}
|
||||
|
||||
String url = null;
|
||||
|
||||
try {
|
||||
|
|
|
@ -358,6 +358,18 @@ public class ScryfallImageSupportCards {
|
|||
|
||||
// Spined Wurm print in Starter 2000 is actually from Magazine Inserts
|
||||
put("S00/Spined Wurm", "https://api.scryfall.com/cards/pmei/11/en?format=image");
|
||||
// Most of the other S00 cards are from 6ED
|
||||
// We'll download lands manually because we have multiple arts and XMage has totally different ID's
|
||||
put("S00/Forest/49", "https://api.scryfall.com/cards/6ed/347/en?format=image");
|
||||
put("S00/Forest/50", "https://api.scryfall.com/cards/6ed/348/en?format=image");
|
||||
put("S00/Island/51", "https://api.scryfall.com/cards/6ed/335/en?format=image");
|
||||
put("S00/Island/52", "https://api.scryfall.com/cards/6ed/336/en?format=image");
|
||||
put("S00/Mountain/53", "https://api.scryfall.com/cards/6ed/343/en?format=image");
|
||||
put("S00/Mountain/54", "https://api.scryfall.com/cards/6ed/344/en?format=image");
|
||||
put("S00/Plains/55", "https://api.scryfall.com/cards/6ed/331/en?format=image");
|
||||
put("S00/Plains/56", "https://api.scryfall.com/cards/6ed/332/en?format=image");
|
||||
put("S00/Swamp/57", "https://api.scryfall.com/cards/6ed/339/en?format=image");
|
||||
put("S00/Swamp/58", "https://api.scryfall.com/cards/6ed/340/en?format=image");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ public final class FromTheVaultTransform extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Lord of Lineage", "4b", Rarity.MYTHIC, mage.cards.l.LordOfLineage.class));
|
||||
cards.add(new SetCardInfo("Bruna, the Fading Light", "5a", Rarity.MYTHIC, mage.cards.b.BrunaTheFadingLight.class));
|
||||
cards.add(new SetCardInfo("Brisela, Voice of Nightmares", "5b", Rarity.MYTHIC, mage.cards.b.BriselaVoiceOfNightmares.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Brisela, Voice of Nightmares", "5c", Rarity.MYTHIC, mage.cards.b.BriselaVoiceOfNightmares.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Chandra, Fire of Kaladesh", "6a", Rarity.MYTHIC, mage.cards.c.ChandraFireOfKaladesh.class));
|
||||
cards.add(new SetCardInfo("Chandra, Roaring Flame", "6b", Rarity.MYTHIC, mage.cards.c.ChandraRoaringFlame.class));
|
||||
cards.add(new SetCardInfo("Delver of Secrets", "7a", Rarity.MYTHIC, mage.cards.d.DelverOfSecrets.class));
|
||||
|
@ -39,7 +38,7 @@ public final class FromTheVaultTransform extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Withengar Unbound", "8b", Rarity.MYTHIC, mage.cards.w.WithengarUnbound.class));
|
||||
cards.add(new SetCardInfo("Garruk Relentless", "9a", Rarity.MYTHIC, mage.cards.g.GarrukRelentless.class));
|
||||
cards.add(new SetCardInfo("Garruk, the Veil-Cursed", "9b", Rarity.MYTHIC, mage.cards.g.GarrukTheVeilCursed.class));
|
||||
cards.add(new SetCardInfo("Gisela, the Broken Blade", 10, Rarity.MYTHIC, mage.cards.g.GiselaTheBrokenBlade.class));
|
||||
cards.add(new SetCardInfo("Gisela, the Broken Blade", "10a", Rarity.MYTHIC, mage.cards.g.GiselaTheBrokenBlade.class));
|
||||
cards.add(new SetCardInfo("Huntmaster of the Fells", "11a", Rarity.MYTHIC, mage.cards.h.HuntmasterOfTheFells.class));
|
||||
cards.add(new SetCardInfo("Ravager of the Fells", "11b", Rarity.MYTHIC, mage.cards.r.RavagerOfTheFells.class));
|
||||
cards.add(new SetCardInfo("Jace, Vryn's Prodigy", "12a", Rarity.MYTHIC, mage.cards.j.JaceVrynsProdigy.class));
|
||||
|
|
Loading…
Reference in a new issue