mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Added EMA token images
This commit is contained in:
parent
0ce189fe2e
commit
0cac2f6d21
6 changed files with 34 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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")) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue