forked from External/mage
* Images: fixed that some tokens uses wrong images of Elemental (#5834);
This commit is contained in:
parent
f2f1abd0f3
commit
4006e9e909
19 changed files with 129 additions and 119 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue