foul-magics/Mage/src/main/java/mage/game/permanent/token/ElementalMasteryElementalToken.java
PurpleCrowbar 80f6ceccff
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
2022-04-26 18:34:21 +04:00

41 lines
1.1 KiB
Java

package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.keyword.HasteAbility;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author spjspj
*/
public final class ElementalMasteryElementalToken extends TokenImpl {
public ElementalMasteryElementalToken() {
super("Elemental Token", "1/1 red Elemental creature token with haste");
cardType.add(CardType.CREATURE);
subtype.add(SubType.ELEMENTAL);
color.setRed(true);
power = new MageInt(1);
toughness = new MageInt(1);
addAbility(HasteAbility.getInstance());
}
@Override
public void setExpansionSetCodeForImage(String code) {
super.setExpansionSetCodeForImage(code);
if (getOriginalExpansionSetCode().equals("SHM")) {
this.setTokenType(2);
}
}
public ElementalMasteryElementalToken(final ElementalMasteryElementalToken token) {
super(token);
}
public ElementalMasteryElementalToken copy() {
return new ElementalMasteryElementalToken(this);
}
}