Added GK2 token images

This commit is contained in:
PurpleCrowbar 2022-06-06 16:33:49 +01:00
parent 74756be1bc
commit 18b515ba5c
9 changed files with 37 additions and 6 deletions

View file

@ -1636,6 +1636,17 @@ public class ScryfallImageSupportTokens {
put ("GK1/Weird", "https://api.scryfall.com/cards/tgk1/3/en?format=image"); put ("GK1/Weird", "https://api.scryfall.com/cards/tgk1/3/en?format=image");
put ("GK1/Wurm", "https://api.scryfall.com/cards/tgk1/9/en?format=image"); put ("GK1/Wurm", "https://api.scryfall.com/cards/tgk1/9/en?format=image");
// GK2
put ("GK2/Bat", "https://api.scryfall.com/cards/tgk2/3/en?format=image");
put ("GK2/Bird", "https://api.scryfall.com/cards/tgk2/1/en?format=image");
put ("GK2/Cleric", "https://api.scryfall.com/cards/tgk2/4/en?format=image");
put ("GK2/Dragon", "https://api.scryfall.com/cards/tgk2/5/en?format=image");
put ("GK2/Goblin", "https://api.scryfall.com/cards/tgk2/6/en?format=image");
put ("GK2/Ooze", "https://api.scryfall.com/cards/tgk2/9/en?format=image");
put ("GK2/Saproling", "https://api.scryfall.com/cards/tgk2/7/en?format=image");
put ("GK2/Spirit", "https://api.scryfall.com/cards/tgk2/2/en?format=image");
put ("GK2/Wurm", "https://api.scryfall.com/cards/tgk2/8/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

@ -1845,4 +1845,15 @@
|Generate|TOK:GK1|Soldier|||SoldierTokenWithHaste| |Generate|TOK:GK1|Soldier|||SoldierTokenWithHaste|
|Generate|TOK:GK1|Voja|||VojaToken| |Generate|TOK:GK1|Voja|||VojaToken|
|Generate|TOK:GK1|Weird|||WeirdToken| |Generate|TOK:GK1|Weird|||WeirdToken|
|Generate|TOK:GK1|Wurm|||WurmWithTrampleToken| |Generate|TOK:GK1|Wurm|||WurmWithTrampleToken|
# GK2
|Generate|TOK:GK2|Bat|||BatToken|
|Generate|TOK:GK2|Bird|||WhiteBlueBirdToken|
|Generate|TOK:GK2|Cleric|||DeathpactAngelToken|
|Generate|TOK:GK2|Dragon|||UtvaraHellkiteDragonToken|
|Generate|TOK:GK2|Goblin|||RakdosGuildmageGoblinToken|
|Generate|TOK:GK2|Ooze|||OozeToken|
|Generate|TOK:GK2|Saproling|||SaprolingToken|
|Generate|TOK:GK2|Spirit|||SpiritWhiteToken|
|Generate|TOK:GK2|Wurm|||WurmToken|

View file

@ -18,7 +18,7 @@ public final class BatToken extends TokenImpl {
toughness = new MageInt(1); toughness = new MageInt(1);
this.addAbility(FlyingAbility.getInstance()); this.addAbility(FlyingAbility.getInstance());
availableImageSetCodes = Arrays.asList("C17", "GVL", "GPT", "MMA", "M19", "MID", "VOC"); availableImageSetCodes = Arrays.asList("C17", "GVL", "GPT", "MMA", "M19", "MID", "VOC", "GK2");
} }
public BatToken(final BatToken token) { public BatToken(final BatToken token) {

View file

@ -6,6 +6,8 @@ import mage.constants.SubType;
import mage.MageInt; import mage.MageInt;
import mage.abilities.keyword.HasteAbility; import mage.abilities.keyword.HasteAbility;
import java.util.Arrays;
/** /**
* *
* @author spjspj * @author spjspj
@ -20,6 +22,8 @@ public final class RakdosGuildmageGoblinToken extends TokenImpl {
power = new MageInt(2); power = new MageInt(2);
toughness = new MageInt(1); toughness = new MageInt(1);
this.addAbility(HasteAbility.getInstance()); this.addAbility(HasteAbility.getInstance());
availableImageSetCodes = Arrays.asList("GK2");
} }
public RakdosGuildmageGoblinToken(final RakdosGuildmageGoblinToken token) { public RakdosGuildmageGoblinToken(final RakdosGuildmageGoblinToken token) {

View file

@ -52,7 +52,8 @@ public final class SaprolingToken extends TokenImpl {
"NCC", "NCC",
"CM2", "CM2",
"PCA", "PCA",
"GK1" "GK1",
"GK2"
)); ));
} }

View file

@ -24,7 +24,7 @@ public final class SpiritWhiteToken extends TokenImpl {
availableImageSetCodes = Arrays.asList("AVR", "C14", "CNS", "DDC", "DDK", "FRF", "ISD", "KTK", "M15", "MM2", "SHM", availableImageSetCodes = Arrays.asList("AVR", "C14", "CNS", "DDC", "DDK", "FRF", "ISD", "KTK", "M15", "MM2", "SHM",
"SOI", "EMA", "C16", "MM3", "CMA", "E01", "ANA", "GPT", "RAV", "EMN", "RNA", "M20", "C19", "C20", "CMR", "KHM", "SOI", "EMA", "C16", "MM3", "CMA", "E01", "ANA", "GPT", "RAV", "EMN", "RNA", "M20", "C19", "C20", "CMR", "KHM",
"MID", "VOW", "UMA", "BBD", "IMA", "CM2", "MD1", "DVD", "DDQ", "CN2", "A25"); "MID", "VOW", "UMA", "BBD", "IMA", "CM2", "MD1", "DVD", "DDQ", "CN2", "A25", "GK2");
} }
@Override @Override

View file

@ -17,7 +17,7 @@ public final class UtvaraHellkiteDragonToken extends TokenImpl {
static final private List<String> tokenImageSets = new ArrayList<>(); static final private List<String> tokenImageSets = new ArrayList<>();
static { static {
tokenImageSets.addAll(Arrays.asList("RTR", "C17")); tokenImageSets.addAll(Arrays.asList("RTR", "C17", "GK2"));
} }
public UtvaraHellkiteDragonToken() { public UtvaraHellkiteDragonToken() {

View file

@ -4,6 +4,8 @@ import mage.constants.SubType;
import mage.MageInt; import mage.MageInt;
import mage.abilities.keyword.FlyingAbility; import mage.abilities.keyword.FlyingAbility;
import java.util.Arrays;
/** /**
* *
* @author spjspj * @author spjspj
@ -19,6 +21,8 @@ public final class WhiteBlueBirdToken extends TokenImpl {
power = new MageInt(1); power = new MageInt(1);
toughness = new MageInt(1); toughness = new MageInt(1);
this.addAbility(FlyingAbility.getInstance()); this.addAbility(FlyingAbility.getInstance());
availableImageSetCodes = Arrays.asList("GK2");
} }
public WhiteBlueBirdToken(final WhiteBlueBirdToken token) { public WhiteBlueBirdToken(final WhiteBlueBirdToken token) {
super(token); super(token);

View file

@ -19,7 +19,7 @@ public final class WurmToken extends TokenImpl {
power = new MageInt(6); power = new MageInt(6);
toughness = new MageInt(6); toughness = new MageInt(6);
availableImageSetCodes = Arrays.asList("C19", "EMA", "GPT", "JUD", "M12", "M13", "MM3", "ODY", "VMA", "C21", "DDS"); availableImageSetCodes = Arrays.asList("C19", "EMA", "GPT", "JUD", "M12", "M13", "MM3", "ODY", "VMA", "C21", "DDS", "GK2");
} }
@Override @Override