Added GK1 token images

This commit is contained in:
PurpleCrowbar 2022-06-06 16:19:52 +01:00
parent 5a6f42e80c
commit 74756be1bc
10 changed files with 43 additions and 7 deletions

View file

@ -1624,6 +1624,18 @@ public class ScryfallImageSupportTokens {
// GS1
put ("GS1/Mowu", "https://api.scryfall.com/cards/gs1/T1/en?format=image");
// GK1
put ("GK1/Centaur", "https://api.scryfall.com/cards/tgk1/10/en?format=image&face=back");
put ("GK1/Elemental", "https://api.scryfall.com/cards/tgk1/10/en?format=image");
put ("GK1/Goblin", "https://api.scryfall.com/cards/tgk1/3/en?format=image&face=back");
put ("GK1/Horror", "https://api.scryfall.com/cards/tgk1/1/en?format=image&face=back");
put ("GK1/Saproling/1", "https://api.scryfall.com/cards/tgk1/8/en?format=image");
put ("GK1/Saproling/2", "https://api.scryfall.com/cards/tgk1/5/en?format=image");
put ("GK1/Soldier", "https://api.scryfall.com/cards/tgk1/6/en?format=image");
put ("GK1/Voja", "https://api.scryfall.com/cards/tgk1/11/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");
// generate supported sets
supportedSets.clear();
for (String cardName : this.keySet()) {

View file

@ -1833,4 +1833,16 @@
|Generate|TOK:A25|Wolf|||WolfToken|
# GS1
|Generate|TOK:GS1|Mowu|||MowuToken|
|Generate|TOK:GS1|Mowu|||MowuToken|
# GK1
|Generate|TOK:GK1|Centaur|||CentaurToken|
|Generate|TOK:GK1|Elemental|||GreenAndWhiteElementalToken|
|Generate|TOK:GK1|Goblin|||GoblinToken|
|Generate|TOK:GK1|Horror|||NightwingHorrorToken|
|Generate|TOK:GK1|Saproling|1||SaprolingToken|
|Generate|TOK:GK1|Saproling|2||SaprolingToken|
|Generate|TOK:GK1|Soldier|||SoldierTokenWithHaste|
|Generate|TOK:GK1|Voja|||VojaToken|
|Generate|TOK:GK1|Weird|||WeirdToken|
|Generate|TOK:GK1|Wurm|||WurmWithTrampleToken|

View file

@ -20,7 +20,7 @@ public final class CentaurToken extends TokenImpl {
power = new MageInt(3);
toughness = new MageInt(3);
availableImageSetCodes = Arrays.asList("C19", "RTR", "RNA", "MIC", "MM3");
availableImageSetCodes = Arrays.asList("C19", "RTR", "RNA", "MIC", "MM3", "GK1");
}
public CentaurToken(final CentaurToken token) {

View file

@ -32,7 +32,7 @@ public final class GoblinToken extends TokenImpl {
availableImageSetCodes = Arrays.asList("10E", "ALA", "SOM", "M10", "M13", "RTR",
"MMA", "M15", "C14", "KTK", "EVG", "DTK", "ORI", "DDG", "DDN", "MM2",
"MM3", "EMA", "C16", "DOM", "ANA", "RNA", "WAR", "MH1", "TSR", "MH2", "AFR", "NEC", "M19", "CM2", "PCA", "DD1", "DDS", "DDT", "A25", "GRN");
"MM3", "EMA", "C16", "DOM", "ANA", "RNA", "WAR", "MH1", "TSR", "MH2", "AFR", "NEC", "M19", "CM2", "PCA", "DD1", "DDS", "DDT", "A25", "GRN", "GK1");
}
public GoblinToken(final GoblinToken token) {

View file

@ -26,7 +26,7 @@ public final class NightwingHorrorToken extends TokenImpl {
// Flying
this.addAbility(FlyingAbility.getInstance());
availableImageSetCodes = Arrays.asList("GTC");
availableImageSetCodes = Arrays.asList("GTC", "GK1");
}
public NightwingHorrorToken(final NightwingHorrorToken token) {

View file

@ -51,7 +51,8 @@ public final class SaprolingToken extends TokenImpl {
"2XM",
"NCC",
"CM2",
"PCA"
"PCA",
"GK1"
));
}
@ -90,5 +91,8 @@ public final class SaprolingToken extends TokenImpl {
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("DOM")) {
this.setTokenType(RandomUtil.nextInt(3) + 1);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("GK1")) {
this.setTokenType(RandomUtil.nextInt(2) + 1);
}
}
}

View file

@ -22,7 +22,7 @@ public final class SoldierTokenWithHaste extends TokenImpl {
toughness = new MageInt(1);
addAbility(HasteAbility.getInstance());
availableImageSetCodes = Arrays.asList("GTC", "MM3", "NCC");
availableImageSetCodes = Arrays.asList("GTC", "MM3", "NCC", "GK1");
}

View file

@ -6,6 +6,8 @@ import mage.constants.SubType;
import mage.MageInt;
import mage.constants.SuperType;
import java.util.Arrays;
/**
*
* @author spjspj
@ -22,6 +24,8 @@ public final class VojaToken extends TokenImpl {
this.color.setWhite(true);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
availableImageSetCodes = Arrays.asList("GK1");
}
public VojaToken(final VojaToken token) {

View file

@ -7,6 +7,8 @@ import mage.MageInt;
import mage.abilities.keyword.DefenderAbility;
import mage.abilities.keyword.FlyingAbility;
import java.util.Arrays;
/**
*
* @author spjspj
@ -22,6 +24,8 @@ public final class WeirdToken extends TokenImpl {
toughness = new MageInt(3);
this.addAbility(DefenderAbility.getInstance());
this.addAbility(FlyingAbility.getInstance());
availableImageSetCodes = Arrays.asList("GK1");
}
public WeirdToken(final WeirdToken token) {

View file

@ -21,7 +21,7 @@ public final class WurmWithTrampleToken extends TokenImpl {
toughness = new MageInt(5);
addAbility(TrampleAbility.getInstance());
availableImageSetCodes = Arrays.asList("RTR", "MM3");
availableImageSetCodes = Arrays.asList("RTR", "MM3", "GK1");
}
public WurmWithTrampleToken(final WurmWithTrampleToken token) {