From 2739dcad4e0e54adf6b7295926d631f2a2ca6cea Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Sun, 5 Jun 2022 19:21:20 +0100 Subject: [PATCH] Added DDM token images --- .../plugins/card/dl/sources/ScryfallImageSupportTokens.java | 3 +++ Mage.Client/src/main/resources/card-pictures-tok.txt | 1 - .../main/java/mage/game/permanent/token/AssassinToken.java | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) 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 bc3da102eb..a794b952aa 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 @@ -1403,6 +1403,9 @@ public class ScryfallImageSupportTokens { put ("BNG/Wolf", "https://api.scryfall.com/cards/tbng/9/en?format=image"); put ("BNG/Zombie", "https://api.scryfall.com/cards/tbng/6/en?format=image"); + // DDM + put ("DDM/Assassin", "https://api.scryfall.com/cards/tddm/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 1a425fd853..9435254e23 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -535,7 +535,6 @@ |Generate|TOK:DDL|Beast|||BeastToken| |Generate|TOK:DDL|Griffin|||GriffinToken| |Generate|TOK:DDM|Assassin|||AssassinToken| -|Generate|TOK:DDM|Illusion|||IllusionToken| |Generate|TOK:DDN|Goblin|||GoblinToken| |Generate|TOK:DDO|Kraken|||Kraken99Token| |Generate|TOK:DDO|Soldier|||SoldierToken| diff --git a/Mage/src/main/java/mage/game/permanent/token/AssassinToken.java b/Mage/src/main/java/mage/game/permanent/token/AssassinToken.java index 7e33315dc8..b77e432a34 100644 --- a/Mage/src/main/java/mage/game/permanent/token/AssassinToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/AssassinToken.java @@ -8,6 +8,8 @@ import mage.MageInt; import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility; import mage.abilities.effects.common.LoseGameTargetPlayerEffect; +import java.util.Arrays; + /** * * @author spjspj @@ -22,6 +24,8 @@ public final class AssassinToken extends TokenImpl { power = new MageInt(1); toughness = new MageInt(1); addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new LoseGameTargetPlayerEffect(), false, true)); + + availableImageSetCodes = Arrays.asList("RTR", "DDM", "C19"); } public AssassinToken(final AssassinToken token) {