foul-magics/Mage/src/main/java/mage/game/permanent/token/DinosaurBeastToken.java
Evan Kranzler 9e0ea945ca
Refactoring token names to reflect new rule (ready for review) (#8446)
* 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
2022-03-14 22:37:21 -04:00

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);
}
}