Added GVL token images

This commit is contained in:
PurpleCrowbar 2022-06-06 00:26:03 +01:00
parent a2a10ae1a3
commit 150a7897c4
5 changed files with 14 additions and 5 deletions

View file

@ -1452,6 +1452,12 @@ public class ScryfallImageSupportTokens {
put ("EVG/Elf Warrior", "https://api.scryfall.com/cards/tevg/2/en?format=image"); put ("EVG/Elf Warrior", "https://api.scryfall.com/cards/tevg/2/en?format=image");
put ("EVG/Goblin", "https://api.scryfall.com/cards/tevg/3/en?format=image"); put ("EVG/Goblin", "https://api.scryfall.com/cards/tevg/3/en?format=image");
// GVL
put ("GVL/Bat", "https://api.scryfall.com/cards/tgvl/11/en?format=image");
put ("GVL/Beast/1", "https://api.scryfall.com/cards/tgvl/8/en?format=image");
put ("GVL/Beast/2", "https://api.scryfall.com/cards/tgvl/9/en?format=image");
put ("GVL/Elephant", "https://api.scryfall.com/cards/tgvl/10/en?format=image");
// generate supported sets // generate supported sets
supportedSets.clear(); supportedSets.clear();
for (String cardName : this.keySet()) { for (String cardName : this.keySet()) {

View file

@ -509,10 +509,9 @@
|Generate|TOK:DVD|Spirit|||SpiritWhiteToken| |Generate|TOK:DVD|Spirit|||SpiritWhiteToken|
|Generate|TOK:DVD|Thrull|||BreedingPitBlackInsectToken| |Generate|TOK:DVD|Thrull|||BreedingPitBlackInsectToken|
|Generate|TOK:DD3D|Elemental Shaman|| |Generate|TOK:DD3D|Elemental Shaman||
|Generate|TOK:GVL|Ape|||PongifyApeToken|
|Generate|TOK:GVL|Bat|||BatToken| |Generate|TOK:GVL|Bat|||BatToken|
|Generate|TOK:GVL|Beast|1||BeastToken2| |Generate|TOK:GVL|Beast|1||BeastToken|
|Generate|TOK:GVL|Beast|2||BeastToken| |Generate|TOK:GVL|Beast|2||BeastToken2|
|Generate|TOK:GVL|Elephant|||ElephantToken| |Generate|TOK:GVL|Elephant|||ElephantToken|
|Generate|TOK:JVC|Elemental Shaman|||ElementalShamanToken| |Generate|TOK:JVC|Elemental Shaman|||ElementalShamanToken|
|Generate|TOK:DDC|Demon|||DemonFlyingToken| |Generate|TOK:DDC|Demon|||DemonFlyingToken|

View file

@ -36,7 +36,7 @@ public final class BeastToken extends TokenImpl {
this.setTokenType(2); this.setTokenType(2);
} }
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("GVL")) { if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("GVL")) {
this.setTokenType(2); this.setTokenType(1);
} }
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C19")) { if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C19")) {
this.setTokenType(1); this.setTokenType(1);

View file

@ -67,5 +67,9 @@ public final class BeastToken2 extends TokenImpl {
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C21")) { if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C21")) {
this.setTokenType(2); this.setTokenType(2);
} }
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("GVL")) {
this.setTokenType(2);
}
} }
} }

View file

@ -21,7 +21,7 @@ public final class PongifyApeToken extends TokenImpl {
power = new MageInt(3); power = new MageInt(3);
toughness = new MageInt(3); toughness = new MageInt(3);
availableImageSetCodes = Arrays.asList("C14", "GVL", "PLC", "ULG", "UNH", "TSR"); availableImageSetCodes = Arrays.asList("C14", "PLC", "ULG", "UNH", "TSR");
} }
public PongifyApeToken(final PongifyApeToken token) { public PongifyApeToken(final PongifyApeToken token) {