forked from External/mage
Fixed some tokens image
This commit is contained in:
parent
dea739ecb0
commit
aeef4e1193
5 changed files with 28 additions and 59 deletions
|
|
@ -5,24 +5,15 @@ import mage.abilities.keyword.HasteAbility;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author magenoxx
|
||||
*/
|
||||
public final class ElementalTokenWithHaste extends TokenImpl {
|
||||
|
||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("C20", "MBP", "OGW", "SOK", "MRD"));
|
||||
}
|
||||
|
||||
public ElementalTokenWithHaste() {
|
||||
super("Elemental", "3/1 red Elemental creature token with haste");
|
||||
availableImageSetCodes = tokenImageSets;
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setRed(true);
|
||||
subtype.add(SubType.ELEMENTAL);
|
||||
|
|
@ -30,6 +21,21 @@ public final class ElementalTokenWithHaste extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("C20", "MBP", "OGW", "SOK", "MRD");
|
||||
}
|
||||
|
||||
public ElementalTokenWithHaste(final ElementalTokenWithHaste token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public ElementalTokenWithHaste copy() {
|
||||
return new ElementalTokenWithHaste(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("OGW")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
|
|
@ -40,12 +46,4 @@ public final class ElementalTokenWithHaste extends TokenImpl {
|
|||
setTokenType(1);
|
||||
}
|
||||
}
|
||||
|
||||
public ElementalTokenWithHaste(final ElementalTokenWithHaste token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public ElementalTokenWithHaste copy() {
|
||||
return new ElementalTokenWithHaste(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue