Added ZEN token images

This commit is contained in:
PurpleCrowbar 2022-06-04 17:51:50 +01:00
parent c813603647
commit 5ab454ea63
6 changed files with 25 additions and 15 deletions

View file

@ -4,6 +4,8 @@ import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
import java.util.Arrays;
/**
*
* @author spjspj
@ -18,6 +20,8 @@ public final class IllusionToken extends TokenImpl {
subtype.add(SubType.ILLUSION);
power = new MageInt(2);
toughness = new MageInt(2);
availableImageSetCodes = Arrays.asList("ZEN");
}
public IllusionToken(final IllusionToken token) {

View file

@ -5,6 +5,8 @@ import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
import java.util.Arrays;
/**
*
* @author spjspj
@ -18,6 +20,8 @@ public final class MerfolkToken extends TokenImpl {
subtype.add(SubType.MERFOLK);
power = new MageInt(1);
toughness = new MageInt(1);
availableImageSetCodes = Arrays.asList("ZEN");
}
public MerfolkToken(final MerfolkToken token) {

View file

@ -16,7 +16,7 @@ public final class PlantToken extends TokenImpl {
power = new MageInt(0);
toughness = new MageInt(1);
availableImageSetCodes = Arrays.asList("ARC", "C18", "DDP", "OGW", "PC2", "WWK", "XLN", "ZEN", "ZNR", "CMR", "NEC", "2XM", "NCC", "PCA");
availableImageSetCodes = Arrays.asList("ARC", "C18", "DDP", "OGW", "PC2", "WWK", "XLN", "ZNR", "CMR", "NEC", "2XM", "NCC", "PCA");
}
public PlantToken(final PlantToken token) {

View file

@ -23,15 +23,6 @@ public final class RedElementalWithTrampleAndHaste extends TokenImpl {
addAbility(HasteAbility.getInstance());
}
@Override
public void setExpansionSetCodeForImage(String code) {
super.setExpansionSetCodeForImage(code);
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("ZEN")) {
setTokenType(RandomUtil.nextInt(2) + 1);
}
}
public RedElementalWithTrampleAndHaste(final RedElementalWithTrampleAndHaste token) {
super(token);
}