From dd95a5dd3b090018ccf0ad1bdf9c67b728512f1a Mon Sep 17 00:00:00 2001 From: PurpleCrowbar <26198472+PurpleCrowbar@users.noreply.github.com> Date: Wed, 8 Jun 2022 23:50:44 +0100 Subject: [PATCH] Removed TMP as an available token image source (no token images) --- Mage.Client/src/main/resources/card-pictures-tok.txt | 7 ------- .../mage/game/permanent/token/CarnivoreToken.java | 11 +---------- .../java/mage/game/permanent/token/PegasusToken.java | 2 +- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/Mage.Client/src/main/resources/card-pictures-tok.txt b/Mage.Client/src/main/resources/card-pictures-tok.txt index 042011a4a3..7098ae0232 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -1012,13 +1012,6 @@ |Generate|TOK:THS|Soldier|1||SoldierToken| |Generate|TOK:THS|Soldier|2||SoldierToken| |Generate|TOK:THS|Soldier|3||AkroanSoldierToken| -|Generate|TOK:TMP|Beast|||CarnivoreToken| -|Generate|TOK:TMP|Dog|||GreenDogToken| -|Generate|TOK:TMP|Pegasus|||PegasusToken| -|Generate|TOK:TMP|Reflection|||ReflectionToken| -|Generate|TOK:TMP|Saproling|||SaprolingToken| -|Generate|TOK:TMP|Spirit|||SpiritWhiteToken| -|Generate|TOK:TMP|Zombie|||ZombieToken| |Generate|TOK:TOR|Squirrel|||SquirrelToken| |Generate|TOK:TSP|Assembly-Worker|||AssembleWorkerToken| |Generate|TOK:TSP|Bat|||SengirNosferatuBatToken| diff --git a/Mage/src/main/java/mage/game/permanent/token/CarnivoreToken.java b/Mage/src/main/java/mage/game/permanent/token/CarnivoreToken.java index af9681849f..2cc3b02c53 100644 --- a/Mage/src/main/java/mage/game/permanent/token/CarnivoreToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/CarnivoreToken.java @@ -19,7 +19,7 @@ public final class CarnivoreToken extends TokenImpl { power = new MageInt(3); toughness = new MageInt(1); - availableImageSetCodes = Arrays.asList("EMA", "TMP"); + availableImageSetCodes = Arrays.asList("EMA"); } public CarnivoreToken(final CarnivoreToken token) { @@ -29,13 +29,4 @@ public final class CarnivoreToken extends TokenImpl { public CarnivoreToken copy() { return new CarnivoreToken(this); } - - @Override - public void setExpansionSetCodeForImage(String code) { - super.setExpansionSetCodeForImage(code); - - if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C13")) { - this.setTokenType(2); - } - } } diff --git a/Mage/src/main/java/mage/game/permanent/token/PegasusToken.java b/Mage/src/main/java/mage/game/permanent/token/PegasusToken.java index f83136b7d7..ecf03841aa 100644 --- a/Mage/src/main/java/mage/game/permanent/token/PegasusToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/PegasusToken.java @@ -22,7 +22,7 @@ public final class PegasusToken extends TokenImpl { addAbility(FlyingAbility.getInstance()); - availableImageSetCodes = Arrays.asList("C14", "C19", "TMP", "TSP", "THB", "KHC", "CLB"); + availableImageSetCodes = Arrays.asList("C14", "C19", "TSP", "THB", "KHC", "CLB"); } public PegasusToken(final PegasusToken token) {