Add token images for several sets (#8873)

* Added support for and assigned UMA token images

* Added Scryfall token download links for MMA

* Added Scryfall token download links for SHM

* Fixed last commit and Oona token names

* Added support for and assigned NEO token images

* Added support for and assigned NEC token images

* Added support for and assigned SLD token images

* Added support for and assigned 2XM token images

* Fixed Tuktuk and some naming inconsistencies

* Fixed WalkerOfTheGroveToken's available image set codes

* Fixed WalkerOfTheGroveToken's available image set codes

* Fixed tokens with same names not displaying correctly
This commit is contained in:
PurpleCrowbar 2022-04-26 15:34:21 +01:00 committed by GitHub
parent d95d8378fb
commit 80f6ceccff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
60 changed files with 476 additions and 48 deletions

View file

@ -20,7 +20,7 @@ public final class RedElementalToken extends TokenImpl {
power = new MageInt(1);
toughness = new MageInt(1);
availableImageSetCodes = Arrays.asList("C13", "EMA", "M14", "SHM", "MH1", "M20", "RIX");
availableImageSetCodes = Arrays.asList("C13", "EMA", "M14", "SHM", "MH1", "M20", "RIX", "UMA", "NEC");
}
@Override
@ -42,6 +42,10 @@ public final class RedElementalToken extends TokenImpl {
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("SHM")) {
setTokenType(2);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("UMA")) {
setTokenType(RandomUtil.nextInt(2) + 2); // 2..3
}
}
public RedElementalToken(final RedElementalToken token) {