Added LRW token images

This commit is contained in:
PurpleCrowbar 2022-06-08 14:52:09 +01:00
parent 4ed3194801
commit 89f9ef78e8
4 changed files with 22 additions and 2 deletions

View file

@ -1702,6 +1702,19 @@ public class ScryfallImageSupportTokens {
put ("CLB/Wolf", "https://api.scryfall.com/cards/tclb/43/en?format=image");
put ("CLB/Wurm", "https://api.scryfall.com/cards/tclb/44/en?format=image");
// LRW
put ("LRW/Avatar", "https://api.scryfall.com/cards/tlrw/1/en?format=image");
put ("LRW/Beast", "https://api.scryfall.com/cards/tlrw/7/en?format=image");
put ("LRW/Elemental/1", "https://api.scryfall.com/cards/tlrw/8/en?format=image");
put ("LRW/Elemental/2", "https://api.scryfall.com/cards/tlrw/2/en?format=image");
put ("LRW/Elemental Shaman", "https://api.scryfall.com/cards/tlrw/6/en?format=image");
put ("LRW/Elf Warrior", "https://api.scryfall.com/cards/tlrw/9/en?format=image");
put ("LRW/Goblin Rogue", "https://api.scryfall.com/cards/tlrw/5/en?format=image");
put ("LRW/Kithkin Soldier", "https://api.scryfall.com/cards/tlrw/3/en?format=image");
put ("LRW/Merfolk Wizard", "https://api.scryfall.com/cards/tlrw/4/en?format=image");
put ("LRW/Shapeshifter", "https://api.scryfall.com/cards/tlrw/11/en?format=image");
put ("LRW/Wolf", "https://api.scryfall.com/cards/tlrw/10/en?format=image");
// generate supported sets
supportedSets.clear();
for (String cardName : this.keySet()) {

View file

@ -731,13 +731,13 @@
# LGN don't have tokens, from wiki: A Sliver token for Brood Sliver and a Goblin token for Warbreak Trumpeter were featured as a Magic Player Reward.
|Generate|TOK:LRW|Avatar|||AvatarToken|
|Generate|TOK:LRW|Beast|||BeastToken|
|Generate|TOK:LRW|Elemental Shaman|||ElementalShamanToken|
|Generate|TOK:LRW|Elemental|1||WalkerOfTheGroveToken|
|Generate|TOK:LRW|Elemental|2||WhiteElementalToken|
|Generate|TOK:LRW|Elemental Shaman|||ElementalShamanToken|
|Generate|TOK:LRW|Elf Warrior|||ElfWarriorToken|
|Generate|TOK:LRW|Goblin Rogue|||GoblinRogueToken|
|Generate|TOK:LRW|Kithkin Soldier|||KithkinSoldierToken|
|Generate|TOK:LRW|Merfolk Wizard||
|Generate|TOK:LRW|Merfolk Wizard|||MerfolkWizardToken|
|Generate|TOK:LRW|Shapeshifter|||CribSwapShapeshifterWhiteToken|
|Generate|TOK:LRW|Wolf|||WolfToken|
|Generate|TOK:M10|Avatar|||AvatarToken|

View file

@ -4,6 +4,8 @@ import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.Arrays;
/**
*
* @author Loki
@ -18,6 +20,8 @@ public final class MerfolkWizardToken extends TokenImpl {
subtype.add(SubType.WIZARD);
power = new MageInt(1);
toughness = new MageInt(1);
availableImageSetCodes = Arrays.asList("LRW");
}
public MerfolkWizardToken(final MerfolkWizardToken token) {

View file

@ -30,6 +30,9 @@ public final class WalkerOfTheGroveToken extends TokenImpl {
if (getOriginalExpansionSetCode().equals("UMA")) {
this.setTokenType(1);
}
if (getOriginalExpansionSetCode().equals("LRW")) {
this.setTokenType(1);
}
}
public WalkerOfTheGroveToken(final WalkerOfTheGroveToken token) {