forked from External/mage
* updated Riptide Replicator and Volrath's Laboratory * refactored token names * some test fixes * more test fixes * even more test fixes * the final test fixes * fixed a few missed tokens * merge fix * fixed a test failure * fixed test failure * updated ignored verify test * fixed token images not appearing * updated tests
41 lines
1.1 KiB
Java
41 lines
1.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 ZendikarsRoilElementalToken extends TokenImpl {
|
|
|
|
public ZendikarsRoilElementalToken() {
|
|
super("Elemental Token", "2/2 green Elemental creature token");
|
|
cardType.add(CardType.CREATURE);
|
|
subtype.add(SubType.ELEMENTAL);
|
|
color.setGreen(true);
|
|
power = new MageInt(2);
|
|
toughness = new MageInt(2);
|
|
|
|
availableImageSetCodes.addAll(Arrays.asList("ORI", "ZNC"));
|
|
}
|
|
|
|
public ZendikarsRoilElementalToken(final ZendikarsRoilElementalToken token) {
|
|
super(token);
|
|
}
|
|
|
|
public ZendikarsRoilElementalToken copy() {
|
|
return new ZendikarsRoilElementalToken(this);
|
|
}
|
|
|
|
@Override
|
|
public void setExpansionSetCodeForImage(String code) {
|
|
super.setExpansionSetCodeForImage(code);
|
|
|
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("ZNC")) {
|
|
setTokenType(2);
|
|
}
|
|
}
|
|
}
|