forked from External/mage
40 lines
1.2 KiB
Java
40 lines
1.2 KiB
Java
|
|
|
|
package mage.game.permanent.token;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.MageInt;
|
|
import mage.filter.common.FilterControlledCreaturePermanent;
|
|
import mage.util.RandomUtil;
|
|
|
|
/**
|
|
*
|
|
* @author spjspj
|
|
*/
|
|
public final class OviyaPashiriSageLifecrafterToken extends TokenImpl {
|
|
|
|
static final FilterControlledCreaturePermanent filterCreature = new FilterControlledCreaturePermanent("creatures you control");
|
|
|
|
public OviyaPashiriSageLifecrafterToken() {
|
|
this(1);
|
|
}
|
|
|
|
public OviyaPashiriSageLifecrafterToken(int number) {
|
|
super("Construct", "an X/X colorless Construct artifact creature token, where X is the number of creatures you control");
|
|
cardType.add(CardType.ARTIFACT);
|
|
cardType.add(CardType.CREATURE);
|
|
subtype.add(SubType.CONSTRUCT);
|
|
setOriginalExpansionSetCode("KLD");
|
|
setTokenType(RandomUtil.nextInt(2) + 1);
|
|
power = new MageInt(number);
|
|
toughness = new MageInt(number);
|
|
}
|
|
|
|
public OviyaPashiriSageLifecrafterToken(final OviyaPashiriSageLifecrafterToken token) {
|
|
super(token);
|
|
}
|
|
|
|
public OviyaPashiriSageLifecrafterToken copy() {
|
|
return new OviyaPashiriSageLifecrafterToken(this);
|
|
}
|
|
}
|