Added EMA token images

This commit is contained in:
PurpleCrowbar 2022-06-06 01:33:08 +01:00
parent 0ce189fe2e
commit 0cac2f6d21
6 changed files with 34 additions and 6 deletions

View file

@ -46,6 +46,10 @@ public final class RedElementalToken extends TokenImpl {
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("UMA")) {
setTokenType(RandomUtil.nextInt(2) + 2); // 2..3
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("EMA")) {
setTokenType(1);
}
}
public RedElementalToken(final RedElementalToken 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 SerfToken extends TokenImpl {
subtype.add(SubType.SERF);
power = new MageInt(0);
toughness = new MageInt(1);
availableImageSetCodes = Arrays.asList("EMA");
}
public SerfToken(final SerfToken token) {

View file

@ -26,7 +26,7 @@ public final class SpiritToken extends TokenImpl {
super.setExpansionSetCodeForImage(code);
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("EMA")) {
setTokenType(2);
setTokenType(1);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("NEO")) {

View file

@ -6,6 +6,8 @@ import mage.constants.SubType;
import mage.MageInt;
import mage.abilities.keyword.DefenderAbility;
import java.util.Arrays;
/**
*
* @author spjspj
@ -20,6 +22,8 @@ public final class TidalWaveWallToken extends TokenImpl {
power = new MageInt(5);
toughness = new MageInt(5);
this.addAbility(DefenderAbility.getInstance());
availableImageSetCodes = Arrays.asList("EMA", "DDT");
}
public TidalWaveWallToken(final TidalWaveWallToken token) {