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
35 lines
964 B
Java
35 lines
964 B
Java
package mage.game.permanent.token;
|
|
|
|
import mage.MageInt;
|
|
import mage.abilities.keyword.TrampleAbility;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
|
|
/**
|
|
* @author TheElk801
|
|
*/
|
|
public final class DinosaurBeastToken extends TokenImpl {
|
|
|
|
public DinosaurBeastToken() {
|
|
this(0);
|
|
}
|
|
public DinosaurBeastToken(int xValue) {
|
|
super("Dinosaur Beast Token", "X/X green Dinosaur Beast creature token with trample");
|
|
cardType.add(CardType.CREATURE);
|
|
color.setGreen(true);
|
|
subtype.add(SubType.DINOSAUR);
|
|
subtype.add(SubType.BEAST);
|
|
power = new MageInt(xValue);
|
|
toughness = new MageInt(xValue);
|
|
addAbility(TrampleAbility.getInstance());
|
|
}
|
|
|
|
private DinosaurBeastToken(final DinosaurBeastToken token) {
|
|
super(token);
|
|
}
|
|
|
|
@Override
|
|
public DinosaurBeastToken copy() {
|
|
return new DinosaurBeastToken(this);
|
|
}
|
|
}
|