From 85ebbb516bc77549a4041e9663673e4ad8bc1ff6 Mon Sep 17 00:00:00 2001 From: PurpleCrowbar Date: Sun, 5 Jun 2022 19:15:54 +0100 Subject: [PATCH] Added BNG token images --- .../card/dl/sources/ScryfallImageSupportTokens.java | 13 +++++++++++++ .../src/main/resources/card-pictures-tok.txt | 2 +- .../java/mage/game/command/emblems/KioraEmblem.java | 1 + 3 files changed, 15 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 53f61398ca..bc3da102eb 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 @@ -1390,6 +1390,19 @@ public class ScryfallImageSupportTokens { put ("EVE/Spirit", "https://api.scryfall.com/cards/teve/4/en?format=image"); put ("EVE/Worm", "https://api.scryfall.com/cards/teve/6/en?format=image"); + // BNG + put ("BNG/Bird/1", "https://api.scryfall.com/cards/tbng/4/en?format=image"); + put ("BNG/Bird/2", "https://api.scryfall.com/cards/tbng/1/en?format=image"); + put ("BNG/Cat Soldier", "https://api.scryfall.com/cards/tbng/2/en?format=image"); + put ("BNG/Centaur", "https://api.scryfall.com/cards/tbng/8/en?format=image"); + put ("BNG/Elemental", "https://api.scryfall.com/cards/tbng/7/en?format=image"); + put ("BNG/Gold", "https://api.scryfall.com/cards/tbng/10/en?format=image"); + put ("BNG/Emblem Kiora, the Crashing Wave", "https://api.scryfall.com/cards/tbng/11/en?format=image"); + put ("BNG/Kraken", "https://api.scryfall.com/cards/tbng/5/en?format=image"); + put ("BNG/Soldier", "https://api.scryfall.com/cards/tbng/3/en?format=image"); + 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"); + // 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 14ab78b8bf..1a425fd853 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -283,7 +283,7 @@ |Generate|TOK:BNG|Cat Soldier|||CatSoldierCreatureToken| |Generate|TOK:BNG|Centaur|||CentaurEnchantmentCreatureToken| |Generate|TOK:BNG|Elemental|||SatyrNyxSmithElementalToken| -|Generate|TOK:BNG|Gold|| +|Generate|TOK:BNG|Gold|||GoldToken| |Generate|TOK:BNG|Kraken|||Kraken99Token| |Generate|TOK:BNG|Soldier|||GodFavoredGeneralSoldierToken| |Generate|TOK:BNG|Wolf|||WolfToken| diff --git a/Mage/src/main/java/mage/game/command/emblems/KioraEmblem.java b/Mage/src/main/java/mage/game/command/emblems/KioraEmblem.java index 3db7573e92..5114c48422 100644 --- a/Mage/src/main/java/mage/game/command/emblems/KioraEmblem.java +++ b/Mage/src/main/java/mage/game/command/emblems/KioraEmblem.java @@ -20,6 +20,7 @@ public final class KioraEmblem extends Emblem { public KioraEmblem() { this.setName("Emblem Kiora"); + this.setExpansionSetCodeForImage("BNG"); Ability ability = new BeginningOfEndStepTriggeredAbility(Zone.COMMAND, new CreateTokenEffect(new Kraken99Token()), TargetController.YOU, null, false); this.getAbilities().add(ability); }