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

@ -9,6 +9,7 @@ import java.util.Arrays;
/**
* @author spjspj
*/
public final class WalkerOfTheGroveToken extends TokenImpl {
public WalkerOfTheGroveToken() {
@ -19,15 +20,15 @@ public final class WalkerOfTheGroveToken extends TokenImpl {
power = new MageInt(4);
toughness = new MageInt(4);
availableImageSetCodes = Arrays.asList("C13", "LRW", "MMA", "MOR");
availableImageSetCodes = Arrays.asList("LRW", "MMA", "DDR", "UMA");
}
@Override
public void setExpansionSetCodeForImage(String code) {
super.setExpansionSetCodeForImage(code);
if (getOriginalExpansionSetCode().equals("C13")) {
this.setTokenType(2);
if (getOriginalExpansionSetCode().equals("UMA")) {
this.setTokenType(1);
}
}