forked from External/mage
48 lines
1.2 KiB
Java
48 lines
1.2 KiB
Java
|
|
|
|
package mage.game.permanent.token;
|
|
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.MageInt;
|
|
import mage.abilities.keyword.DeathtouchAbility;
|
|
import mage.util.RandomUtil;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/**
|
|
*
|
|
* @author nantuko
|
|
*/
|
|
public final class WolfTokenWithDeathtouch extends TokenImpl {
|
|
|
|
public WolfTokenWithDeathtouch() {
|
|
super("Wolf Token", "1/1 black Wolf creature token with deathtouch");
|
|
cardType.add(CardType.CREATURE);
|
|
color.setBlack(true);
|
|
subtype.add(SubType.WOLF);
|
|
power = new MageInt(1);
|
|
toughness = new MageInt(1);
|
|
|
|
addAbility(DeathtouchAbility.getInstance());
|
|
|
|
availableImageSetCodes = Arrays.asList("ISD");
|
|
}
|
|
|
|
@Override
|
|
public void setExpansionSetCodeForImage(String code) {
|
|
super.setExpansionSetCodeForImage(code);
|
|
|
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("ISD")) {
|
|
this.setTokenType(1);
|
|
}
|
|
}
|
|
|
|
public WolfTokenWithDeathtouch(final WolfTokenWithDeathtouch token) {
|
|
super(token);
|
|
}
|
|
|
|
public WolfTokenWithDeathtouch copy() {
|
|
return new WolfTokenWithDeathtouch(this);
|
|
}
|
|
}
|