Token image changes for DOM

This commit is contained in:
Michael Simons 2018-05-10 00:28:17 -04:00
parent bc70a5e4ad
commit 43d99b5caa

View file

@ -64,7 +64,9 @@ public class SaprolingToken extends TokenImpl {
"CMA", "CMA",
"VMA", // 2 different token, one with DIFFERENT stats, "Saproling Burst" create different token, see https://scryfall.com/card/tvma/12 "VMA", // 2 different token, one with DIFFERENT stats, "Saproling Burst" create different token, see https://scryfall.com/card/tvma/12
"E02", "E02",
"RIX")); "RIX",
"DOM" // 3 different token images
));
} }
public SaprolingToken() { public SaprolingToken() {
@ -82,6 +84,9 @@ public class SaprolingToken extends TokenImpl {
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C16")) { if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C16")) {
this.setTokenType(RandomUtil.nextInt(2) + 1); this.setTokenType(RandomUtil.nextInt(2) + 1);
} }
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("DOM")) {
this.setTokenType(RandomUtil.nextInt(3) + 1);
}
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);
color.setGreen(true); color.setGreen(true);
subtype.add(SubType.SAPROLING); subtype.add(SubType.SAPROLING);