From 4ea204ed05779459b9c7264243c5453a1195698f Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Sat, 4 Jun 2022 18:44:04 +0100 Subject: [PATCH] Added DDG token images --- .../plugins/card/dl/sources/ScryfallImageSupportTokens.java | 3 +++ Mage.Client/src/main/resources/card-pictures-tok.txt | 2 -- Mage/src/main/java/mage/game/permanent/token/GriffinToken.java | 2 +- .../main/java/mage/game/permanent/token/PongifyApeToken.java | 2 +- 4 files changed, 5 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 711538c45c..0170d3c83c 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 @@ -1285,6 +1285,9 @@ public class ScryfallImageSupportTokens { put ("MBS/Thopter", "https://api.scryfall.com/cards/tmbs/5/en?format=image"); put ("MBS/Zombie", "https://api.scryfall.com/cards/tmbs/2/en?format=image"); + // DDG + put ("DDG/Goblin", "https://api.scryfall.com/cards/tddg/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 b9bc07e56a..35f31d1411 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -527,9 +527,7 @@ |Generate|TOK:DDE|Phyrexian Minion|||MinionToken| |Generate|TOK:DDE|Saproling|||SaprolingToken| |Generate|TOK:DDF|Soldier|||SoldierToken| -|Generate|TOK:DDG|Ape|||PongifyApeToken| |Generate|TOK:DDG|Goblin|||GoblinToken| -|Generate|TOK:DDG|Griffin|||GriffinToken| |Generate|TOK:DDH|Griffin|||GriffinToken| |Generate|TOK:DDH|Saproling|||SaprolingToken| |Generate|TOK:DDJ|Saproling|||SaprolingToken| diff --git a/Mage/src/main/java/mage/game/permanent/token/GriffinToken.java b/Mage/src/main/java/mage/game/permanent/token/GriffinToken.java index 6b2fe9c0c3..3996699ab5 100644 --- a/Mage/src/main/java/mage/game/permanent/token/GriffinToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/GriffinToken.java @@ -23,7 +23,7 @@ public final class GriffinToken extends TokenImpl { // Flying this.addAbility(FlyingAbility.getInstance()); - availableImageSetCodes = Arrays.asList("DDG", "DDH", "DDL", "TSP", "M21", "TSR"); + availableImageSetCodes = Arrays.asList("DDH", "DDL", "TSP", "M21", "TSR"); } public GriffinToken(final GriffinToken token) { diff --git a/Mage/src/main/java/mage/game/permanent/token/PongifyApeToken.java b/Mage/src/main/java/mage/game/permanent/token/PongifyApeToken.java index 057b7cf51a..2c31446269 100644 --- a/Mage/src/main/java/mage/game/permanent/token/PongifyApeToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/PongifyApeToken.java @@ -21,7 +21,7 @@ public final class PongifyApeToken extends TokenImpl { power = new MageInt(3); toughness = new MageInt(3); - availableImageSetCodes = Arrays.asList("C14", "GVL", "DDG", "PLC", "ULG", "UNH", "TSR"); + availableImageSetCodes = Arrays.asList("C14", "GVL", "PLC", "ULG", "UNH", "TSR"); } public PongifyApeToken(final PongifyApeToken token) {