Added DMU token images

This commit is contained in:
PurpleCrowbar 2022-09-22 22:08:13 +01:00
parent 3a1f25aea2
commit 47670266cd
10 changed files with 57 additions and 7 deletions

View file

@ -1744,6 +1744,22 @@ public class ScryfallImageSupportTokens {
put ("CC2/Snake", "https://api.scryfall.com/cards/cc2/9/en?format=image&face=front");
put ("CC2/Zombie", "https://api.scryfall.com/cards/cc2/9/en?format=image&face=back");
// DMU
put ("DMU/Emblem Ajani, Sleeper Agent", "https://api.scryfall.com/cards/tdmu/25/en?format=image");
put ("DMU/Beast", "https://api.scryfall.com/cards/tdmu/16/en?format=image");
put ("DMU/Bird/1", "https://api.scryfall.com/cards/tdmu/6/en?format=image");
put ("DMU/Bird/2", "https://api.scryfall.com/cards/tdmu/2/en?format=image");
put ("DMU/Dragon", "https://api.scryfall.com/cards/tdmu/10/en?format=image");
put ("DMU/Elemental", "https://api.scryfall.com/cards/tdmu/11/en?format=image");
put ("DMU/Goblin", "https://api.scryfall.com/cards/tdmu/12/en?format=image");
put ("DMU/Emblem Jaya, Fiery Negotiator", "https://api.scryfall.com/cards/tdmu/26/en?format=image");
put ("DMU/Monk", "https://api.scryfall.com/cards/tdmu/14/en?format=image");
put ("DMU/Ornithopter", "https://api.scryfall.com/cards/tdmu/22/en?format=image");
put ("DMU/Phyrexian", "https://api.scryfall.com/cards/tdmu/8/en?format=image");
put ("DMU/Powerstone", "https://api.scryfall.com/cards/tdmu/23/en?format=image");
put ("DMU/Saproling", "https://api.scryfall.com/cards/tdmu/18/en?format=image");
put ("DMU/Soldier", "https://api.scryfall.com/cards/tdmu/4/en?format=image");
// generate supported sets
supportedSets.clear();

View file

@ -135,6 +135,8 @@
|Generate|EMBLEM:NEO|Kaito Shizuki||Emblem Kaito|KaitoShizukiEmblem|
|Generate|EMBLEM:NEO|Tezzeret, Betrayer of Flesh||Emblem Tezzeret|TezzeretBetrayerOfFleshEmblem|
|Generate|EMBLEM:2X2|Wrenn and Six||Emblem Wrenn|WrennAndSixEmblem|
|Generate|EMBLEM:DMU|Ajani, Sleeper Agent||Emblem Ajani|AjaniSleeperAgentEmblem|
|Generate|EMBLEM:DMU|Jaya, Fiery Negotiator||Emblem Jaya|JayaFieryNegotiatorEmblem|
# Planes
|Generate|PLANE:PCA|Plane - Academy at Tolaria West|||AcademyAtTolariaWestPlane|
@ -1864,4 +1866,18 @@
# CC2
|Generate|TOK:CC2|Snake|||OphiomancerSnakeToken|
|Generate|TOK:CC2|Zombie|||ZombieToken|
|Generate|TOK:CC2|Zombie|||ZombieToken|
# DMU
|Generate|TOK:DMU|Beast|||BeastToken|
|Generate|TOK:DMU|Bird|1||BlackBirdToken|
|Generate|TOK:DMU|Bird|2||BirdToken|
|Generate|TOK:DMU|Dragon|||DragonToken|
|Generate|TOK:DMU|Elemental|||Elemental21TrampleHasteToken|
|Generate|TOK:DMU|Goblin|||GoblinToken|
|Generate|TOK:DMU|Monk|||MonkRedToken|
|Generate|TOK:DMU|Ornithopter|||OrnithopterToken|
|Generate|TOK:DMU|Phyrexian|||PhyrexianToken|
|Generate|TOK:DMU|Powerstone|||PowerstoneToken|
|Generate|TOK:DMU|Saproling|||SaprolingToken|
|Generate|TOK:DMU|Soldier|||SoldierToken|

View file

@ -22,7 +22,8 @@ public final class BeastToken extends TokenImpl {
availableImageSetCodes = Arrays.asList("C14", "C16", "C19", "CMA", "CN2", "GVL",
"DD3C", "DD3GVL", "DDD", "DDL", "DST", "E01", "EVE", "LRW", "M10", "M11", "M12",
"M13", "M14", "M15", "MM3", "NPH", "PC2", "USG", "M19", "IKO", "M21", "CMR", "C21", "AFC", "MIC", "NEC", "2XM", "NCC", "BBD", "PCA", "CLB");
"M13", "M14", "M15", "MM3", "NPH", "PC2", "USG", "M19", "IKO", "M21", "CMR", "C21",
"AFC", "MIC", "NEC", "2XM", "NCC", "BBD", "PCA", "CLB", "DMU");
}
@Override

View file

@ -24,7 +24,7 @@ public final class BirdToken extends TokenImpl {
addAbility(FlyingAbility.getInstance());
availableImageSetCodes = Arrays.asList("BNG", "CSP", "JUD", "MM3", "RTR", "VMA", "ZEN",
"MH1", "C16", "C20", "M21", "ZNC", "KHC", "MH2", "IMA", "CM2");
"MH1", "C16", "C20", "M21", "ZNC", "KHC", "MH2", "IMA", "CM2", "DMU");
}
public BirdToken(final BirdToken token) {
@ -46,5 +46,8 @@ public final class BirdToken extends TokenImpl {
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("BNG")) {
setTokenType(2);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("DMU")) {
setTokenType(2);
}
}
}

View file

@ -19,6 +19,7 @@ public final class BlackBirdToken extends TokenImpl {
subtype.add(SubType.BIRD);
power = new MageInt(1);
toughness = new MageInt(1);
setOriginalExpansionSetCode("DMU");
addAbility(FlyingAbility.getInstance());
addAbility(new CantBlockAbility());
@ -32,4 +33,13 @@ public final class BlackBirdToken extends TokenImpl {
public BlackBirdToken copy() {
return new BlackBirdToken(this);
}
@Override
public void setExpansionSetCodeForImage(String code) {
super.setExpansionSetCodeForImage(code);
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("DMU")) {
setTokenType(1);
}
}
}

View file

@ -17,7 +17,7 @@ public final class DragonToken extends TokenImpl {
static final private List<String> tokenImageSets = new ArrayList<>();
static {
tokenImageSets.addAll(Arrays.asList("DTK", "MMA", "ALA", "MM3", "C17", "WAR", "MED", "CLB"));
tokenImageSets.addAll(Arrays.asList("DTK", "MMA", "ALA", "MM3", "C17", "WAR", "MED", "CLB", "DMU"));
}
public DragonToken() {

View file

@ -19,6 +19,7 @@ public final class Elemental21TrampleHasteToken extends TokenImpl {
subtype.add(SubType.ELEMENTAL);
power = new MageInt(2);
toughness = new MageInt(1);
setOriginalExpansionSetCode("DMU");
this.addAbility(TrampleAbility.getInstance());
this.addAbility(HasteAbility.getInstance());
}

View file

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

View file

@ -55,7 +55,8 @@ public final class SaprolingToken extends TokenImpl {
"GK1",
"GK2",
"CLB",
"2X2"
"2X2",
"DMU"
));
}

View file

@ -22,7 +22,7 @@ public final class SoldierToken extends TokenImpl {
availableImageSetCodes = Arrays.asList("10E", "M15", "C14", "ORI", "ALA", "DDF", "THS", "M12", "M13",
"MM2", "MMA", "RTR", "SOM", "DDO", "M10", "ORI", "EMN", "EMA", "CN2", "C16", "C18", "MM3", "E01",
"DOM", "MH1", "M20", "C20", "M21", "CMR", "KHC", "TSR", "2XM", "MED", "M19", "MD1", "A25", "CLB", "2X2");
"DOM", "MH1", "M20", "C20", "M21", "CMR", "KHC", "TSR", "2XM", "MED", "M19", "MD1", "A25", "CLB", "2X2", "DMU");
}
public SoldierToken(final SoldierToken token) {