From a3d3c29c938228b9571369cc9bdc2d00922c9bb8 Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Mon, 6 Jun 2022 01:42:40 +0100 Subject: [PATCH] Added V16 token images --- .../plugins/card/dl/sources/ScryfallImageSupportTokens.java | 3 +++ Mage.Client/src/main/resources/card-pictures-tok.txt | 5 ++++- .../main/java/mage/game/permanent/token/MaritLageToken.java | 2 +- 3 files changed, 8 insertions(+), 2 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 eae431a84a..01e9b62cf4 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 @@ -1537,6 +1537,9 @@ public class ScryfallImageSupportTokens { put ("EMA/Wurm", "https://api.scryfall.com/cards/tema/13/en?format=image"); put ("EMA/Zombie", "https://api.scryfall.com/cards/tema/6/en?format=image"); + // V16 + put ("V16/Marit Lage", "https://api.scryfall.com/cards/v16/16/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 1bed698902..026512de48 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -1798,4 +1798,7 @@ # MD1 |Generate|TOK:MD1|Phyrexian Myr|||PhyrexianMyrToken| |Generate|TOK:MD1|Soldier|||SoldierToken| -|Generate|TOK:MD1|Spirit|||SpiritWhiteToken| \ No newline at end of file +|Generate|TOK:MD1|Spirit|||SpiritWhiteToken| + +# V16 +|Generate|TOK:V16|Marit Lage|||MaritLageToken| \ No newline at end of file diff --git a/Mage/src/main/java/mage/game/permanent/token/MaritLageToken.java b/Mage/src/main/java/mage/game/permanent/token/MaritLageToken.java index 7dee1085f8..db91abe74f 100644 --- a/Mage/src/main/java/mage/game/permanent/token/MaritLageToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/MaritLageToken.java @@ -27,7 +27,7 @@ public final class MaritLageToken extends TokenImpl { this.addAbility(FlyingAbility.getInstance()); this.addAbility(IndestructibleAbility.getInstance()); - availableImageSetCodes.addAll(Arrays.asList("CSP", "MH1", "UMA", "2XM")); + availableImageSetCodes.addAll(Arrays.asList("CSP", "MH1", "UMA", "2XM", "V16")); } public MaritLageToken(final MaritLageToken token) {