From bbbcde35614f09ebd114a5e93c0921f39ba2fc87 Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Sat, 4 Jun 2022 18:41:03 +0100 Subject: [PATCH] Added MBS token images --- .../card/dl/sources/ScryfallImageSupportTokens.java | 7 +++++++ Mage.Client/src/main/resources/card-pictures-tok.txt | 7 ++----- Mage/src/main/java/mage/game/permanent/token/CatToken.java | 2 +- Mage/src/main/java/mage/game/permanent/token/MyrToken.java | 2 +- 4 files changed, 11 insertions(+), 7 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 8a01784e82..711538c45c 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 @@ -1278,6 +1278,13 @@ public class ScryfallImageSupportTokens { put ("SOM/Phyrexian Wurm/1", "https://api.scryfall.com/cards/tsom/8/en?format=image"); put ("SOM/Phyrexian Wurm/2", "https://api.scryfall.com/cards/tsom/9/en?format=image"); + // MBS + put ("MBS/Phyrexian Germ", "https://api.scryfall.com/cards/tmbs/1/en?format=image"); + put ("MBS/Golem", "https://api.scryfall.com/cards/tmbs/3/en?format=image"); + put ("MBS/Phyrexian Horror", "https://api.scryfall.com/cards/tmbs/4/en?format=image"); + 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"); + // 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 d2fd89d181..b9bc07e56a 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -831,12 +831,9 @@ |Generate|TOK:M15|Squid|||SquidToken| |Generate|TOK:M15|Treefolk Warrior|||KalonianTwingroveTreefolkWarriorToken| |Generate|TOK:M15|Zombie|||ZombieToken| -|Generate|TOK:MBS|Cat|||CatToken| -|Generate|TOK:MBS|Germ|||PhyrexianGermToken| +|Generate|TOK:MBS|Phyrexian Germ|||PhyrexianGermToken| |Generate|TOK:MBS|Golem|||TitanForgeGolemToken| -|Generate|TOK:MBS|Horror|||PhyrexianRebirthHorrorToken| -|Generate|TOK:MBS|Myr|||MyrToken| -|Generate|TOK:MBS|Soldier|||SoldierToken| +|Generate|TOK:MBS|Phyrexian Horror|||PhyrexianRebirthHorrorToken| |Generate|TOK:MBS|Thopter|||ThopterColorlessToken| |Generate|TOK:MBS|Zombie|||ZombieToken| |Generate|TOK:ME2|Caribou|||CaribouToken| diff --git a/Mage/src/main/java/mage/game/permanent/token/CatToken.java b/Mage/src/main/java/mage/game/permanent/token/CatToken.java index fb06f988a7..ff5c071a48 100644 --- a/Mage/src/main/java/mage/game/permanent/token/CatToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/CatToken.java @@ -19,7 +19,7 @@ public final class CatToken extends TokenImpl { power = new MageInt(2); toughness = new MageInt(2); - availableImageSetCodes = Arrays.asList("PMEI", "C14", "C15", "C17", "C18", "M13", "M14", "MBS", "SOM", "CMR", "2XM"); + availableImageSetCodes = Arrays.asList("PMEI", "C14", "C15", "C17", "C18", "M13", "M14", "SOM", "CMR", "2XM"); } public CatToken(final CatToken token) { diff --git a/Mage/src/main/java/mage/game/permanent/token/MyrToken.java b/Mage/src/main/java/mage/game/permanent/token/MyrToken.java index 91b839d879..7ee9f53de1 100644 --- a/Mage/src/main/java/mage/game/permanent/token/MyrToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/MyrToken.java @@ -16,7 +16,7 @@ public final class MyrToken extends TokenImpl { power = new MageInt(1); toughness = new MageInt(1); - availableImageSetCodes = Arrays.asList("C14", "C16", "C18", "DST", "MBS", "MM2", "MRD", "NPH", "SOM", "MH1", "C21", "NEC", "2XM", "BBD", "DDU", "CM2"); + availableImageSetCodes = Arrays.asList("C14", "C16", "C18", "DST", "MM2", "MRD", "NPH", "SOM", "MH1", "C21", "NEC", "2XM", "BBD", "DDU", "CM2"); } public MyrToken(final MyrToken token) {