forked from External/mage
* Stopped OGW tokens which don't have images being used as image sources * Removed C13 as a token image source as it has no related token images * Added support for and assigned C14 token images * Added support for and assigned C15 token images * Added support for and assigned C16 token images * Added support for and assigned C17 token images * Fixed C18 token images * Fixed C19 token images
44 lines
1.2 KiB
Java
44 lines
1.2 KiB
Java
package mage.game.permanent.token;
|
|
|
|
import mage.MageInt;
|
|
import mage.abilities.keyword.TrampleAbility;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/**
|
|
* @author spjspj
|
|
*/
|
|
public final class SpawningGroundsBeastToken extends TokenImpl {
|
|
|
|
public SpawningGroundsBeastToken() {
|
|
super("Beast Token", "5/5 green Beast creature token with trample");
|
|
cardType.add(CardType.CREATURE);
|
|
color.setGreen(true);
|
|
subtype.add(SubType.BEAST);
|
|
power = new MageInt(5);
|
|
toughness = new MageInt(5);
|
|
|
|
this.addAbility(TrampleAbility.getInstance());
|
|
|
|
availableImageSetCodes = Arrays.asList("C18");
|
|
}
|
|
|
|
public SpawningGroundsBeastToken(final SpawningGroundsBeastToken token) {
|
|
super(token);
|
|
}
|
|
|
|
public SpawningGroundsBeastToken copy() {
|
|
return new SpawningGroundsBeastToken(this);
|
|
}
|
|
|
|
@Override
|
|
public void setExpansionSetCodeForImage(String code) {
|
|
super.setExpansionSetCodeForImage(code);
|
|
|
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C18")) {
|
|
this.setTokenType(2);
|
|
}
|
|
}
|
|
}
|