* Images: fixed that some tokens uses wrong images of Elemental (#5834);

This commit is contained in:
Oleg Agafonov 2020-06-15 21:30:23 +04:00
parent f2f1abd0f3
commit 4006e9e909
19 changed files with 129 additions and 119 deletions

View file

@ -1,41 +0,0 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.util.RandomUtil;
/**
* @author spjspj
*/
public final class YoungPyromancerElementalToken extends TokenImpl {
public YoungPyromancerElementalToken() {
super("Elemental", "1/1 red Elemental creature token");
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("M14")) {
setTokenType(RandomUtil.nextInt(2) + 1);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("EMA")) {
setTokenType(1);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("SHM")) {
setTokenType(2);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MH1")) {
setTokenType(1);
}
cardType.add(CardType.CREATURE);
color.setRed(true);
subtype.add(SubType.ELEMENTAL);
power = new MageInt(1);
toughness = new MageInt(1);
}
public YoungPyromancerElementalToken(final YoungPyromancerElementalToken token) {
super(token);
}
public YoungPyromancerElementalToken copy() {
return new YoungPyromancerElementalToken(this);
}
}