Added DDR token images

This commit is contained in:
PurpleCrowbar 2022-06-06 02:04:07 +01:00
parent 7793a75dc7
commit c63bd729bd
5 changed files with 20 additions and 4 deletions

View file

@ -1551,6 +1551,14 @@ public class ScryfallImageSupportTokens {
put ("CN2/Spirit", "https://api.scryfall.com/cards/tcn2/4/en?format=image"); put ("CN2/Spirit", "https://api.scryfall.com/cards/tcn2/4/en?format=image");
put ("CN2/Zombie", "https://api.scryfall.com/cards/tcn2/6/en?format=image"); put ("CN2/Zombie", "https://api.scryfall.com/cards/tcn2/6/en?format=image");
// DDR
put ("DDR/Eldrazi Scion", "https://api.scryfall.com/cards/ddr/71/en?format=image");
put ("DDR/Demon", "https://api.scryfall.com/cards/ddr/72/en?format=image");
put ("DDR/Zombie Giant", "https://api.scryfall.com/cards/ddr/73/en?format=image");
put ("DDR/Elemental", "https://api.scryfall.com/cards/ddr/74/en?format=image");
put ("DDR/Plant", "https://api.scryfall.com/cards/ddr/75/en?format=image");
put ("DDR/Emblem Nixilis", "https://api.scryfall.com/cards/ddr/76/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

@ -46,6 +46,7 @@
|Generate|EMBLEM!:BFZ|Emblem Gideon|||GideonAllyOfZendikarEmblem| |Generate|EMBLEM!:BFZ|Emblem Gideon|||GideonAllyOfZendikarEmblem|
|Generate|EMBLEM!:BFZ|Emblem Kiora|||KioraMasterOfTheDepthsEmblem| |Generate|EMBLEM!:BFZ|Emblem Kiora|||KioraMasterOfTheDepthsEmblem|
|Generate|EMBLEM!:BFZ|Emblem Nixilis|||ObNixilisReignitedEmblem| |Generate|EMBLEM!:BFZ|Emblem Nixilis|||ObNixilisReignitedEmblem|
|Generate|EMBLEM!:DDR|Emblem Nixilis|||ObNixilisReignitedEmblem|
|Generate|EMBLEM!:AKH|Emblem Gideon|||GideonOfTheTrialsEmblem| |Generate|EMBLEM!:AKH|Emblem Gideon|||GideonOfTheTrialsEmblem|
|Generate|EMBLEM!:C14|Emblem Daretti|||DarettiScrapSavantEmblem| |Generate|EMBLEM!:C14|Emblem Daretti|||DarettiScrapSavantEmblem|
|Generate|EMBLEM!:C14|Emblem Nixilis|||ObNixilisOfTheBlackOathEmblem| |Generate|EMBLEM!:C14|Emblem Nixilis|||ObNixilisOfTheBlackOathEmblem|
@ -1799,4 +1800,11 @@
|Generate|TOK:MD1|Spirit|||SpiritWhiteToken| |Generate|TOK:MD1|Spirit|||SpiritWhiteToken|
# V16 # V16
|Generate|TOK:V16|Marit Lage|||MaritLageToken| |Generate|TOK:V16|Marit Lage|||MaritLageToken|
# DDR
|Generate|TOK:DDR|Eldrazi Scion|||EldraziScionToken|
|Generate|TOK:DDR|Demon|||DemonToken|
|Generate|TOK:DDR|Zombie Giant|||QuestForTheGravelordZombieToken|
|Generate|TOK:DDR|Elemental|||WalkerOfTheGroveToken|
|Generate|TOK:DDR|Plant|||PlantToken|

View file

@ -21,7 +21,7 @@ public final class DemonToken extends TokenImpl {
toughness = new MageInt(5); toughness = new MageInt(5);
addAbility(FlyingAbility.getInstance()); addAbility(FlyingAbility.getInstance());
availableImageSetCodes.addAll(Arrays.asList("AVR", "C14", "DD3A", "ISD", "ORI", "M20", "M21", "2XM")); availableImageSetCodes.addAll(Arrays.asList("AVR", "C14", "DD3A", "ISD", "ORI", "M20", "M21", "2XM", "DDR"));
} }
public DemonToken(final DemonToken token) { public DemonToken(final DemonToken token) {

View file

@ -23,7 +23,7 @@ public final class EldraziScionToken extends TokenImpl {
static final private List<String> tokenImageSets = new ArrayList<>(); static final private List<String> tokenImageSets = new ArrayList<>();
static { static {
tokenImageSets.addAll(Arrays.asList("BFZ", "OGW")); tokenImageSets.addAll(Arrays.asList("BFZ", "OGW", "DDR"));
} }
public EldraziScionToken() { public EldraziScionToken() {

View file

@ -16,7 +16,7 @@ public final class PlantToken extends TokenImpl {
power = new MageInt(0); power = new MageInt(0);
toughness = new MageInt(1); toughness = new MageInt(1);
availableImageSetCodes = Arrays.asList("ARC", "C18", "DDP", "OGW", "PC2", "WWK", "XLN", "ZNR", "CMR", "NEC", "2XM", "NCC", "PCA"); availableImageSetCodes = Arrays.asList("ARC", "C18", "DDP", "OGW", "PC2", "WWK", "XLN", "ZNR", "CMR", "NEC", "2XM", "NCC", "PCA", "DDR");
} }
public PlantToken(final PlantToken token) { public PlantToken(final PlantToken token) {