From b49c5ed4b03dc03e7ef89fbb79e02ed7e48c6e70 Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Sun, 5 Jun 2022 20:32:43 +0100 Subject: [PATCH] Added KTK token images --- .../dl/sources/ScryfallImageSupportTokens.java | 14 ++++++++++++++ .../src/main/resources/card-pictures-tok.txt | 4 +--- 2 files changed, 15 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 925cd9aea0..7e2bed9d89 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 @@ -1433,6 +1433,20 @@ public class ScryfallImageSupportTokens { // DDN put ("DDN/Goblin", "https://api.scryfall.com/cards/ddn/82/en?format=image"); + // KTK + put ("KTK/Bear", "https://api.scryfall.com/cards/tktk/8/en?format=image"); + put ("KTK/Bird", "https://api.scryfall.com/cards/tktk/1/en?format=image"); + put ("KTK/Goblin", "https://api.scryfall.com/cards/tktk/7/en?format=image"); + put ("KTK/Emblem Sarkhan", "https://api.scryfall.com/cards/tktk/12/en?format=image"); + put ("KTK/Snake", "https://api.scryfall.com/cards/tktk/9/en?format=image"); + put ("KTK/Emblem Sorin", "https://api.scryfall.com/cards/tktk/13/en?format=image"); + put ("KTK/Spirit", "https://api.scryfall.com/cards/tktk/2/en?format=image"); + put ("KTK/Spirit Warrior", "https://api.scryfall.com/cards/tktk/10/en?format=image"); + put ("KTK/Vampire", "https://api.scryfall.com/cards/tktk/5/en?format=image"); + put ("KTK/Warrior/1", "https://api.scryfall.com/cards/tktk/3/en?format=image"); + put ("KTK/Warrior/2", "https://api.scryfall.com/cards/tktk/4/en?format=image"); + put ("KTK/Zombie", "https://api.scryfall.com/cards/tktk/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 9a972bfeb1..64685326ea 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -724,11 +724,9 @@ |Generate|TOK:KLD|Thopter|3||ThopterColorlessToken| |Generate|TOK:KTK|Bear|||BearsCompanionBearToken| |Generate|TOK:KTK|Bird|||WingmateRocToken| -|Generate|TOK:KTK|Goblin|||GoblinTokenWithHaste| |Generate|TOK:KTK|Goblin|||GoblinToken| -|Generate|TOK:KTK|Morph||| |Generate|TOK:KTK|Snake|||SnakeToken| -|Generate|TOK:KTK|Spirit Warrior|| +|Generate|TOK:KTK|Spirit Warrior|||SpiritWarriorToken| |Generate|TOK:KTK|Spirit|||SpiritWhiteToken| |Generate|TOK:KTK|Vampire|||VampireToken| |Generate|TOK:KTK|Warrior|1||WarriorToken|