forked from External/mage
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:
parent
d95d8378fb
commit
80f6ceccff
60 changed files with 476 additions and 48 deletions
|
|
@ -6,6 +6,8 @@ import mage.constants.SubType;
|
|||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
|
|
@ -21,6 +23,17 @@ public final class ThopterToken extends TokenImpl {
|
|||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue