Added new set: Explorers of Ixalan (47 cards, 1 token)

This commit is contained in:
Oleg Agafonov 2017-12-22 09:18:41 +04:00
parent 43c732c751
commit 39ca5a13f4
9 changed files with 97 additions and 26 deletions

View file

@ -44,9 +44,28 @@ public class SaprolingToken extends Token {
final static private List<String> tokenImageSets = new ArrayList<>();
/* do not used, but why it was added?
static {
tokenImageSets.addAll(Arrays.asList("10E", "ALA", "DDE", "DDH", "DDJ", "M12", "M13", "M14", "MM2", "MMA", "RTR", "C15", "MM3", "C16", "CMA"));
}
tokenImageSets.addAll(Arrays.asList(
"10E",
"ALA",
"DDE",
"DDH",
"DDJ",
"M12",
"M13",
"M14",
"MM2",
"MM3",
"MMA",
"RTR",
"C15",
"MM3",
"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"));
}*/
public SaprolingToken() {
this(null, 0);
@ -58,7 +77,7 @@ public class SaprolingToken extends Token {
public SaprolingToken(String setCode, int tokenType) {
super("Saproling", "1/1 green Saproling creature token");
availableImageSetCodes = tokenImageSets;
//availableImageSetCodes = tokenImageSets;
setOriginalExpansionSetCode(setCode);
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C16")) {
this.setTokenType(RandomUtil.nextInt(2) + 1);