forked from External/mage
[MID] added tokens and images support
This commit is contained in:
parent
9015b156e5
commit
54a1efec63
24 changed files with 141 additions and 86 deletions
|
|
@ -5,39 +5,24 @@ import mage.abilities.keyword.ReachAbility;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author fireshoes
|
||||
*/
|
||||
public final class SpiderToken extends TokenImpl {
|
||||
|
||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("ISD", "EMN", "C15", "SHM", "MH1", "THB"));
|
||||
}
|
||||
|
||||
public SpiderToken() {
|
||||
this(null, 0);
|
||||
}
|
||||
|
||||
public SpiderToken(String setCode) {
|
||||
this(setCode, 0);
|
||||
}
|
||||
|
||||
public SpiderToken(String setCode, int tokenType) {
|
||||
super("Spider", "1/2 green Spider creature token with reach");
|
||||
availableImageSetCodes = tokenImageSets;
|
||||
setOriginalExpansionSetCode(setCode);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add(SubType.SPIDER);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(2);
|
||||
addAbility(ReachAbility.getInstance());
|
||||
|
||||
this.addAbility(ReachAbility.getInstance());
|
||||
|
||||
availableImageSetCodes.addAll(Arrays.asList("C15", "EMN", "ISD", "SHM", "MH1", "THB", "MID"));
|
||||
}
|
||||
|
||||
public SpiderToken(final SpiderToken token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue