forked from External/mage
* 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
42 lines
1 KiB
Java
42 lines
1 KiB
Java
package mage.game.permanent.token;
|
|
|
|
import mage.MageInt;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/**
|
|
* @author spjspj
|
|
*/
|
|
|
|
public final class WalkerOfTheGroveToken extends TokenImpl {
|
|
|
|
public WalkerOfTheGroveToken() {
|
|
super("Elemental Token", "4/4 green Elemental creature token");
|
|
cardType.add(CardType.CREATURE);
|
|
this.subtype.add(SubType.ELEMENTAL);
|
|
this.color.setGreen(true);
|
|
power = new MageInt(4);
|
|
toughness = new MageInt(4);
|
|
|
|
availableImageSetCodes = Arrays.asList("LRW", "MMA", "DDR", "UMA");
|
|
}
|
|
|
|
@Override
|
|
public void setExpansionSetCodeForImage(String code) {
|
|
super.setExpansionSetCodeForImage(code);
|
|
|
|
if (getOriginalExpansionSetCode().equals("UMA")) {
|
|
this.setTokenType(1);
|
|
}
|
|
}
|
|
|
|
public WalkerOfTheGroveToken(final WalkerOfTheGroveToken token) {
|
|
super(token);
|
|
}
|
|
|
|
public WalkerOfTheGroveToken copy() {
|
|
return new WalkerOfTheGroveToken(this);
|
|
}
|
|
}
|