From 1bf28897899928cb4ea991dd2fad9051e3c56e1a Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Sat, 4 Jun 2022 18:34:20 +0100 Subject: [PATCH] Added SOM token images --- .../card/dl/sources/ScryfallImageSupportTokens.java | 11 +++++++++++ Mage.Client/src/main/resources/card-pictures-tok.txt | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) 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 ab6a749b62..8a01784e82 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 @@ -1267,6 +1267,17 @@ public class ScryfallImageSupportTokens { put ("DDD/Beast/2", "https://api.scryfall.com/cards/tddd/2/en?format=image"); put ("DDD/Elephant", "https://api.scryfall.com/cards/tddd/3/en?format=image"); + // SOM + put ("SOM/Cat", "https://api.scryfall.com/cards/tsom/1/en?format=image"); + put ("SOM/Goblin", "https://api.scryfall.com/cards/tsom/3/en?format=image"); + put ("SOM/Golem", "https://api.scryfall.com/cards/tsom/6/en?format=image"); + put ("SOM/Phyrexian Insect", "https://api.scryfall.com/cards/tsom/4/en?format=image"); + put ("SOM/Myr", "https://api.scryfall.com/cards/tsom/7/en?format=image"); + put ("SOM/Soldier", "https://api.scryfall.com/cards/tsom/2/en?format=image"); + put ("SOM/Wolf", "https://api.scryfall.com/cards/tsom/5/en?format=image"); + put ("SOM/Phyrexian Wurm/1", "https://api.scryfall.com/cards/tsom/8/en?format=image"); + put ("SOM/Phyrexian Wurm/2", "https://api.scryfall.com/cards/tsom/9/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 51a51ca81e..d2fd89d181 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -1075,12 +1075,12 @@ |Generate|TOK:SOM|Cat|||CatToken| |Generate|TOK:SOM|Goblin|||GoblinToken| |Generate|TOK:SOM|Golem|||GolemToken| -|Generate|TOK:SOM|Insect|||InsectInfectToken| +|Generate|TOK:SOM|Phyrexian Insect|||InsectInfectToken| |Generate|TOK:SOM|Myr|||MyrToken| |Generate|TOK:SOM|Soldier|||SoldierToken| |Generate|TOK:SOM|Wolf|||WolfToken| -|Generate|TOK:SOM|Wurm|1||WurmWithDeathtouchToken| -|Generate|TOK:SOM|Wurm|2||WurmWithLifelinkToken| +|Generate|TOK:SOM|Phyrexian Wurm|1||WurmWithDeathtouchToken| +|Generate|TOK:SOM|Phyrexian Wurm|2||WurmWithLifelinkToken| |Generate|TOK:SWS|Ewok|||EwokToken| |Generate|TOK:SWS|B-Wing|||RebelStarshipToken| |Generate|TOK:SWS|Hunter|||HunterToken|