foul-magics/Mage/src/main/java/mage/game/permanent/token/DefenderPlantToken.java
2018-06-02 17:59:49 +02:00

41 lines
964 B
Java

package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.keyword.DefenderAbility;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author TheElk801
*/
public final class DefenderPlantToken extends TokenImpl {
public DefenderPlantToken() {
this(null, 0);
}
public DefenderPlantToken(String setCode) {
this(setCode, 0);
}
public DefenderPlantToken(String setCode, int tokenType) {
super("Plant", "0/2 green Plant creature token with defender");
color.setGreen(true);
cardType.add(CardType.CREATURE);
subtype.add(SubType.PLANT);
power = new MageInt(0);
toughness = new MageInt(2);
this.addAbility(DefenderAbility.getInstance());
}
public DefenderPlantToken(final DefenderPlantToken token) {
super(token);
}
public DefenderPlantToken copy() {
return new DefenderPlantToken(this);
}
}