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,007 B
Java
41 lines
1,007 B
Java
package mage.game.permanent.token;
|
|
|
|
import mage.MageInt;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/**
|
|
* @author magenoxx_at_gmail.com
|
|
*/
|
|
public final class WurmToken extends TokenImpl {
|
|
|
|
public WurmToken() {
|
|
super("Wurm Token", "6/6 green Wurm creature token");
|
|
cardType.add(CardType.CREATURE);
|
|
color.setGreen(true);
|
|
subtype.add(SubType.WURM);
|
|
power = new MageInt(6);
|
|
toughness = new MageInt(6);
|
|
|
|
availableImageSetCodes = Arrays.asList("C19", "EMA", "GPT", "JUD", "M12", "M13", "MM3", "ODY", "VMA", "C21");
|
|
}
|
|
|
|
@Override
|
|
public void setExpansionSetCodeForImage(String code) {
|
|
super.setExpansionSetCodeForImage(code);
|
|
|
|
if (getOriginalExpansionSetCode().equals("VMA")) {
|
|
this.setTokenType(2);
|
|
}
|
|
}
|
|
|
|
public WurmToken(final WurmToken token) {
|
|
super(token);
|
|
}
|
|
|
|
public WurmToken copy() {
|
|
return new WurmToken(this);
|
|
}
|
|
}
|