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
46 lines
1.1 KiB
Java
46 lines
1.1 KiB
Java
|
|
|
|
package mage.game.permanent.token;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.MageInt;
|
|
import mage.abilities.keyword.FlyingAbility;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/**
|
|
*
|
|
* @author spjspj
|
|
*/
|
|
public final class ThopterToken extends TokenImpl {
|
|
|
|
public ThopterToken() {
|
|
super("Thopter Token", "1/1 blue Thopter artifact creature token with flying");
|
|
cardType.add(CardType.CREATURE);
|
|
cardType.add(CardType.ARTIFACT);
|
|
color.setBlue(true);
|
|
subtype.add(SubType.THOPTER);
|
|
power = new MageInt(1);
|
|
toughness = new MageInt(1);
|
|
this.addAbility(FlyingAbility.getInstance());
|
|
|
|
availableImageSetCodes = Arrays.asList("ALA", "C16", "C18", "2XM");
|
|
}
|
|
|
|
@Override
|
|
public void setExpansionSetCodeForImage(String code) {
|
|
super.setExpansionSetCodeForImage(code);
|
|
|
|
if (getOriginalExpansionSetCode().equals("2XM")) {
|
|
this.setTokenType(2);
|
|
}
|
|
}
|
|
|
|
public ThopterToken(final ThopterToken token) {
|
|
super(token);
|
|
}
|
|
|
|
public ThopterToken copy() {
|
|
return new ThopterToken(this);
|
|
}
|
|
}
|