Added E01 token images

This commit is contained in:
PurpleCrowbar 2022-06-06 14:06:18 +01:00
parent 8e08b70348
commit f6cdc8daee
4 changed files with 10 additions and 2 deletions

View file

@ -1591,6 +1591,12 @@ public class ScryfallImageSupportTokens {
put ("DDS/Goblin", "https://api.scryfall.com/cards/tdds/3/en?format=image");
put ("DDS/Wurm", "https://api.scryfall.com/cards/tdds/7/en?format=image");
// E01
put ("E01/Beast/1", "https://api.scryfall.com/cards/te01/4/en?format=image");
put ("E01/Beast/2", "https://api.scryfall.com/cards/te01/5/en?format=image");
put ("E01/Soldier", "https://api.scryfall.com/cards/te01/1/en?format=image");
put ("E01/Spirit", "https://api.scryfall.com/cards/te01/2/en?format=image");
// generate supported sets
supportedSets.clear();
for (String cardName : this.keySet()) {

View file

@ -585,7 +585,6 @@
|Generate|TOK:E01|Beast|2||BeastToken2|
|Generate|TOK:E01|Soldier|||SoldierToken|
|Generate|TOK:E01|Spirit|||SpiritWhiteToken|
|Generate|TOK:E01|Zombie|||ZombieToken|
|Generate|TOK:E02|Saproling|||SaprolingToken|
|Generate|TOK:EMA|Carnivore|||CarnivoreToken|
|Generate|TOK:EMA|Dragon|||DragonEggDragonToken|

View file

@ -53,6 +53,9 @@ public final class BeastToken extends TokenImpl {
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("DDD")) {
setTokenType(1);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("E01")) {
setTokenType(1);
}
}
public BeastToken(final BeastToken token) {

View file

@ -27,7 +27,7 @@ public final class ZombieToken extends TokenImpl {
"MMA", "BNG", "KTK", "DTK",
"ORI", "OGW", "SOI", "EMN",
"EMA", "MM3", "AKH", "CMA",
"E01", "RNA", "WAR", "MH1",
"RNA", "WAR", "MH1",
"M20", "C19", "C20", "THB",
"M21", "CMR", "C21", "MH2",
"AFR", "MIC", "VOW", "UMA",