forked from External/mage
[C20] tokens support and fixes:
* Added tokens for C20; * Added tokens images download for C20; * Fixed that some tokens uses wrong images or images from wrong set (example: Elemental);
This commit is contained in:
parent
2b21298377
commit
c2487aec7d
48 changed files with 406 additions and 349 deletions
|
|
@ -32,39 +32,33 @@ public final class SaprolingToken extends TokenImpl {
|
|||
"RTR",
|
||||
"C15",
|
||||
"MM3",
|
||||
"INV",
|
||||
"C16", // 2 different token images...
|
||||
"CMA",
|
||||
"VMA", // 2 different token, one with DIFFERENT stats, "Saproling Burst" create different token, see https://scryfall.com/card/tvma/12
|
||||
"E02",
|
||||
"RIX",
|
||||
"DOM", // 3 different token images
|
||||
"C19"
|
||||
"C19",
|
||||
"C20"
|
||||
));
|
||||
}
|
||||
|
||||
public SaprolingToken() {
|
||||
this(null, 0);
|
||||
}
|
||||
|
||||
public SaprolingToken(String setCode) {
|
||||
this(setCode, 0);
|
||||
}
|
||||
|
||||
public SaprolingToken(String setCode, int tokenType) {
|
||||
super("Saproling", "1/1 green Saproling creature token");
|
||||
availableImageSetCodes = tokenImageSets;
|
||||
setOriginalExpansionSetCode(setCode);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add(SubType.SAPROLING);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C16")) {
|
||||
this.setTokenType(RandomUtil.nextInt(2) + 1);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("DOM")) {
|
||||
this.setTokenType(RandomUtil.nextInt(3) + 1);
|
||||
}
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add(SubType.SAPROLING);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
||||
public SaprolingToken(final SaprolingToken token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue