From 249bce6443ca2c7521f7be410bf83fc6580735c4 Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Mon, 6 Jun 2022 00:53:52 +0100 Subject: [PATCH] Added MM2 token images --- .../dl/sources/ScryfallImageSupportTokens.java | 18 ++++++++++++++++++ .../src/main/resources/card-pictures-tok.txt | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportTokens.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportTokens.java index 24327dd775..065d8ffe07 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportTokens.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportTokens.java @@ -1472,6 +1472,24 @@ public class ScryfallImageSupportTokens { put ("DDO/Kraken", "https://api.scryfall.com/cards/ddo/67/en?format=image"); put ("DDO/Soldier", "https://api.scryfall.com/cards/ddo/66/en?format=image"); + // MM2 + put ("MM2/Eldrazi Spawn/1", "https://api.scryfall.com/cards/tmm2/1/en?format=image"); + put ("MM2/Eldrazi Spawn/2", "https://api.scryfall.com/cards/tmm2/2/en?format=image"); + put ("MM2/Eldrazi Spawn/3", "https://api.scryfall.com/cards/tmm2/3/en?format=image"); + put ("MM2/Elephant", "https://api.scryfall.com/cards/tmm2/9/en?format=image"); + put ("MM2/Faerie Rogue", "https://api.scryfall.com/cards/tmm2/6/en?format=image"); + put ("MM2/Phyrexian Germ", "https://api.scryfall.com/cards/tmm2/7/en?format=image"); + put ("MM2/Golem", "https://api.scryfall.com/cards/tmm2/15/en?format=image"); + put ("MM2/Insect", "https://api.scryfall.com/cards/tmm2/10/en?format=image"); + put ("MM2/Myr", "https://api.scryfall.com/cards/tmm2/16/en?format=image"); + put ("MM2/Saproling", "https://api.scryfall.com/cards/tmm2/11/en?format=image"); + put ("MM2/Snake", "https://api.scryfall.com/cards/tmm2/12/en?format=image"); + put ("MM2/Soldier", "https://api.scryfall.com/cards/tmm2/4/en?format=image"); + put ("MM2/Spirit", "https://api.scryfall.com/cards/tmm2/5/en?format=image"); + put ("MM2/Thrull", "https://api.scryfall.com/cards/tmm2/8/en?format=image"); + put ("MM2/Wolf", "https://api.scryfall.com/cards/tmm2/13/en?format=image"); + put ("MM2/Worm", "https://api.scryfall.com/cards/tmm2/14/en?format=image"); + // generate supported sets supportedSets.clear(); for (String cardName : this.keySet()) { diff --git a/Mage.Client/src/main/resources/card-pictures-tok.txt b/Mage.Client/src/main/resources/card-pictures-tok.txt index 8e2f846101..8ebfe4468c 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -832,7 +832,7 @@ |Generate|TOK:MM2|Eldrazi Spawn|3||EldraziSpawnToken| |Generate|TOK:MM2|Elephant|||ElephantToken| |Generate|TOK:MM2|Faerie Rogue|||FaerieRogueToken| -|Generate|TOK:MM2|Germ|||PhyrexianGermToken| +|Generate|TOK:MM2|Phyrexian Germ|||PhyrexianGermToken| |Generate|TOK:MM2|Golem|||GolemToken| |Generate|TOK:MM2|Insect|||InsectToken| |Generate|TOK:MM2|Myr|||MyrToken|