From 8982bb9fee7ea3b06ebe3f78d4475e3fd99c8e01 Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Thu, 2 Jun 2022 00:52:48 +0100 Subject: [PATCH] Fixed and added Scryfall image downloads for M15 tokens --- .../dl/sources/ScryfallImageSupportTokens.java | 16 ++++++++++++++++ .../src/main/resources/card-pictures-tok.txt | 9 ++++----- 2 files changed, 20 insertions(+), 5 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 b90005599b..ad59920aee 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 @@ -1108,6 +1108,22 @@ public class ScryfallImageSupportTokens { put ("CMA/Wolf/2", "https://api.scryfall.com/cards/tcma/17/en?format=image"); put ("CMA/Zombie", "https://api.scryfall.com/cards/tcma/5/en?format=image"); + // M15 + put ("M15/Emblem Ajani", "https://api.scryfall.com/cards/tm15/13/en?format=image"); + put ("M15/Beast/1", "https://api.scryfall.com/cards/tm15/5/en?format=image"); + put ("M15/Beast/2", "https://api.scryfall.com/cards/tm15/9/en?format=image"); + put ("M15/Dragon", "https://api.scryfall.com/cards/tm15/7/en?format=image"); + put ("M15/Emblem Garruk", "https://api.scryfall.com/cards/tm15/14/en?format=image"); + put ("M15/Goblin", "https://api.scryfall.com/cards/tm15/8/en?format=image"); + put ("M15/Insect", "https://api.scryfall.com/cards/tm15/10/en?format=image"); + put ("M15/Land Mine", "https://api.scryfall.com/cards/tm15/12/en?format=image"); + put ("M15/Sliver", "https://api.scryfall.com/cards/tm15/1/en?format=image"); + put ("M15/Soldier", "https://api.scryfall.com/cards/tm15/2/en?format=image"); + put ("M15/Spirit", "https://api.scryfall.com/cards/tm15/3/en?format=image"); + put ("M15/Squid", "https://api.scryfall.com/cards/tm15/4/en?format=image"); + put ("M15/Treefolk Warrior", "https://api.scryfall.com/cards/tm15/11/en?format=image"); + put ("M15/Zombie", "https://api.scryfall.com/cards/tm15/6/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 ac773a439a..4b9d62224d 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -838,12 +838,11 @@ |Generate|TOK:M14|Sliver|| |Generate|TOK:M14|Wolf|||WolfToken| |Generate|TOK:M14|Zombie|||ZombieToken| -|Generate|TOK:M15|Beast|1||BeastToken| -|Generate|TOK:M15|Beast|2||GarrukApexPredatorBeastToken| +|Generate|TOK:M15|Beast|1||GarrukApexPredatorBeastToken| +|Generate|TOK:M15|Beast|2||BeastToken| |Generate|TOK:M15|Dragon|||BroodKeeperDragonToken| -|Generate|TOK:M15|Goblin|1||GoblinTokenWithHaste| -# |Generate|TOK:M15|Goblin|2||GoblinToken| #does not exist -|Generate|TOK:M15|Insect|||InsectToken| +|Generate|TOK:M15|Goblin|||GoblinToken| +|Generate|TOK:M15|Insect|||InsectDeathToken| |Generate|TOK:M15|Land Mine|||LandMineToken| |Generate|TOK:M15|Sliver|||SliverToken| |Generate|TOK:M15|Soldier|||SoldierToken|