Added CNS token images

This commit is contained in:
PurpleCrowbar 2022-06-05 20:15:42 +01:00
parent 2b43af4d7e
commit ea96f253c1
4 changed files with 13 additions and 9 deletions

View file

@ -1420,6 +1420,16 @@ public class ScryfallImageSupportTokens {
put ("MD1/Soldier", "https://api.scryfall.com/cards/tmd1/1/en?format=image");
put ("MD1/Spirit", "https://api.scryfall.com/cards/tmd1/2/en?format=image");
// CNS
put ("CNS/Construct", "https://api.scryfall.com/cards/tcns/8/en?format=image");
put ("CNS/Emblem Dack Fayden", "https://api.scryfall.com/cards/tcns/9/en?format=image");
put ("CNS/Demon", "https://api.scryfall.com/cards/tcns/2/en?format=image");
put ("CNS/Elephant", "https://api.scryfall.com/cards/tcns/5/en?format=image");
put ("CNS/Spirit", "https://api.scryfall.com/cards/tcns/1/en?format=image");
put ("CNS/Squirrel", "https://api.scryfall.com/cards/tcns/6/en?format=image");
put ("CNS/Wolf", "https://api.scryfall.com/cards/tcns/7/en?format=image");
put ("CNS/Zombie", "https://api.scryfall.com/cards/tcns/3/en?format=image");
// generate supported sets
supportedSets.clear();
for (String cardName : this.keySet()) {

View file

@ -480,9 +480,8 @@
|Generate|TOK:CN2|Soldier|2|
|Generate|TOK:CN2|Spirit||
|Generate|TOK:CN2|Zombie||
|Generate|TOK:CNS|Constructdefender|||DarettiConstructToken|
|Generate|TOK:CNS|Construct||
|Generate|TOK:CNS|Demon|||ReignOfThePitToken|
|Generate|TOK:CNS|Construct|||DarettiConstructToken|
|Generate|TOK:CNS|Demon|||DemonFlyingToken|
|Generate|TOK:CNS|Elephant|||ElephantToken|
|Generate|TOK:CNS|Ogre||
|Generate|TOK:CNS|Spirit|||SpiritWhiteToken|

View file

@ -16,12 +16,7 @@ import java.util.Arrays;
public final class DarettiConstructToken extends TokenImpl {
public DarettiConstructToken() {
this("CNS");
}
public DarettiConstructToken(String setCode) {
super("Construct Token", "1/1 colorless Construct artifact creature token with defender");
this.setOriginalExpansionSetCode(setCode);
cardType.add(CardType.ARTIFACT);
cardType.add(CardType.CREATURE);
subtype.add(SubType.CONSTRUCT);

View file

@ -26,7 +26,7 @@ public final class DemonFlyingToken extends TokenImpl {
addAbility(FlyingAbility.getInstance());
availableImageSetCodes = Arrays.asList("C14", "C21", "NCC", "DDC");
availableImageSetCodes = Arrays.asList("C14", "C21", "NCC", "DDC", "CNS");
}
public DemonFlyingToken(final DemonFlyingToken token) {