From fc88357eab8e950d09adcfa8e0cd094fdda93aa0 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Wed, 3 Apr 2019 13:03:51 +0400 Subject: [PATCH] [WAR] - added images download from scryfall; --- .../plugins/card/dl/sources/ScryfallImageSupportCards.java | 1 + .../plugins/card/dl/sources/ScryfallImageSupportTokens.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportCards.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportCards.java index 0e3ca45c17..2f847fc3ee 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportCards.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportCards.java @@ -238,6 +238,7 @@ public class ScryfallImageSupportCards { add("MEDM"); add("GK2"); add("MH1"); + add("WAR"); // add("EURO"); add("GPX"); 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 0031ee5a08..47cd7597f1 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 @@ -49,6 +49,9 @@ public class ScryfallImageSupportTokens { put("RNA/Treasure", "https://api.scryfall.com/cards/trna/12/en?format=image"); put("RNA/Zombie", "https://api.scryfall.com/cards/trna/3/en?format=image"); + // WAR + put("WAR/Zombie Army", "https://api.scryfall.com/cards/twar/8/en?format=image"); + // generate supported sets supportedSets.clear();