From c617e13675665c991b99a6c2060c2fcd69c66c42 Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Sat, 4 Jun 2022 17:58:24 +0100 Subject: [PATCH] Added WWK token images --- .../card/dl/sources/ScryfallImageSupportTokens.java | 8 ++++++++ Mage.Client/src/main/resources/card-pictures-tok.txt | 2 -- .../main/java/mage/game/permanent/token/SnakeToken.java | 2 +- .../main/java/mage/game/permanent/token/WolfToken.java | 2 +- 4 files changed, 10 insertions(+), 4 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 e751e2baf0..ea1e716ac1 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 @@ -1237,6 +1237,14 @@ public class ScryfallImageSupportTokens { put ("ZEN/Wolf", "https://api.scryfall.com/cards/tzen/11/en?format=image"); put ("ZEN/Zombie Giant", "https://api.scryfall.com/cards/tzen/7/en?format=image"); + // WWK + put ("WWK/Construct", "https://api.scryfall.com/cards/twwk/6/en?format=image"); + put ("WWK/Dragon", "https://api.scryfall.com/cards/twwk/2/en?format=image"); + put ("WWK/Elephant", "https://api.scryfall.com/cards/twwk/4/en?format=image"); + put ("WWK/Ogre", "https://api.scryfall.com/cards/twwk/3/en?format=image"); + put ("WWK/Plant", "https://api.scryfall.com/cards/twwk/5/en?format=image"); + put ("WWK/Soldier Ally", "https://api.scryfall.com/cards/twwk/1/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 9a159ec950..a74e4300fc 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -1177,9 +1177,7 @@ |Generate|TOK:WWK|Elephant|||ElephantToken| |Generate|TOK:WWK|Ogre|||OgreToken| |Generate|TOK:WWK|Plant|||PlantToken| -|Generate|TOK:WWK|Snake|||SnakeToken| |Generate|TOK:WWK|Soldier Ally|||JoinTheRanksSoldierToken| -|Generate|TOK:WWK|Wolf|||WolfToken| |Generate|TOK:XLN|Dinosaur|||DinosaurToken| |Generate|TOK:XLN|Illusion|||JaceCunningCastawayIllusionToken| |Generate|TOK:XLN|Merfolk|||MerfolkHexproofToken| diff --git a/Mage/src/main/java/mage/game/permanent/token/SnakeToken.java b/Mage/src/main/java/mage/game/permanent/token/SnakeToken.java index 5d869ea7cd..1ddf2f7d05 100644 --- a/Mage/src/main/java/mage/game/permanent/token/SnakeToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/SnakeToken.java @@ -20,7 +20,7 @@ public final class SnakeToken extends TokenImpl { toughness = new MageInt(1); availableImageSetCodes = Arrays.asList("6ED", "C15", "C19", "CHK", "CMD", "KTK", "MM2", "MMQ", "SOK", - "VIS", "WWK", "ZEN", "C20", "MIC"); + "VIS", "ZEN", "C20", "MIC"); } public SnakeToken(final SnakeToken token) { diff --git a/Mage/src/main/java/mage/game/permanent/token/WolfToken.java b/Mage/src/main/java/mage/game/permanent/token/WolfToken.java index 5fe745c83e..99aae34257 100644 --- a/Mage/src/main/java/mage/game/permanent/token/WolfToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/WolfToken.java @@ -22,7 +22,7 @@ public final class WolfToken extends TokenImpl { toughness = new MageInt(2); availableImageSetCodes = Arrays.asList("BNG", "C14", "C15", "CMA", "CMD", "CNS", "DKA", "EVE", "ISD", - "LRW", "M10", "M14", "MM2", "SHM", "SOI", "SOM", "V10", "WWK", "ZEN", "WAR", "M20", + "LRW", "M10", "M14", "MM2", "SHM", "SOI", "SOM", "V10", "ZEN", "WAR", "M20", "THB", "AFR", "MID", "VOW", "2XM"); }