Added DGM token images

This commit is contained in:
PurpleCrowbar 2022-06-04 21:09:49 +01:00
parent 1ad0f7e3a6
commit e8fd84580c
8 changed files with 9 additions and 23 deletions

View file

@ -1361,6 +1361,9 @@ public class ScryfallImageSupportTokens {
// DDK // DDK
put ("DDK/Spirit", "https://api.scryfall.com/cards/tddk/1/en?format=image"); put ("DDK/Spirit", "https://api.scryfall.com/cards/tddk/1/en?format=image");
// DGM
put ("DGM/Elemental", "https://api.scryfall.com/cards/tdgm/1/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

@ -549,15 +549,7 @@
|Generate|TOK:DDQ|Human|||HumanToken| |Generate|TOK:DDQ|Human|||HumanToken|
|Generate|TOK:DDQ|Spirit|||SpiritWhiteToken| |Generate|TOK:DDQ|Spirit|||SpiritWhiteToken|
|Generate|TOK:DDQ|Zombie|||ZombieToken| |Generate|TOK:DDQ|Zombie|||ZombieToken|
|Generate|TOK:DGM|Bird|||BirdToken|
|Generate|TOK:DGM|Centaur|||CentaurToken|
|Generate|TOK:DGM|Elemental|||VoiceOfResurgenceToken| |Generate|TOK:DGM|Elemental|||VoiceOfResurgenceToken|
|Generate|TOK:DGM|Knight|||KnightToken|
|Generate|TOK:DGM|Rhino|||RhinoToken|
|Generate|TOK:DGM|Soldier|||SoldierTokenWithHaste|
|Generate|TOK:DGM|Spirit|||TeysaEnvoyOfGhostsToken|
|Generate|TOK:DGM|Wurm|1||WurmWithTrampleToken|
|Generate|TOK:DGM|Wurm|2||Wurm55Token|
|Generate|TOK:DIS|Bird|||WhiteBlueBirdToken| |Generate|TOK:DIS|Bird|||WhiteBlueBirdToken|
|Generate|TOK:DIS|Drake|||LeafdrakeRoostDrakeToken| |Generate|TOK:DIS|Drake|||LeafdrakeRoostDrakeToken|
|Generate|TOK:DIS|Elemental|||ResearchDevelopmentToken| |Generate|TOK:DIS|Elemental|||ResearchDevelopmentToken|

View file

@ -23,7 +23,7 @@ public final class BirdToken extends TokenImpl {
addAbility(FlyingAbility.getInstance()); addAbility(FlyingAbility.getInstance());
availableImageSetCodes = Arrays.asList("BNG", "CSP", "DGM", "JUD", "MM3", "RTR", "VMA", "ZEN", 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");
} }

View file

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

View file

@ -23,7 +23,7 @@ public final class KnightToken extends TokenImpl {
toughness = new MageInt(2); toughness = new MageInt(2);
this.addAbility(VigilanceAbility.getInstance()); this.addAbility(VigilanceAbility.getInstance());
availableImageSetCodes = Arrays.asList("C15", "CMA", "DGM", "ORI", "RTR", "M19", "ELD", "M21", "AFC", "MIC", "DOM"); availableImageSetCodes = Arrays.asList("C15", "CMA", "ORI", "RTR", "M19", "ELD", "M21", "AFC", "MIC", "DOM");
} }
public KnightToken(final KnightToken token) { public KnightToken(final KnightToken token) {

View file

@ -21,7 +21,7 @@ public final class RhinoToken extends TokenImpl {
toughness = new MageInt(4); toughness = new MageInt(4);
addAbility(TrampleAbility.getInstance()); addAbility(TrampleAbility.getInstance());
availableImageSetCodes = Arrays.asList("DGM", "RTR", "MH1", "C19", "MIC"); availableImageSetCodes = Arrays.asList("RTR", "MH1", "C19", "MIC");
} }
public RhinoToken(final RhinoToken token) { public RhinoToken(final RhinoToken token) {

View file

@ -19,16 +19,7 @@ public final class Wurm55Token extends TokenImpl {
power = new MageInt(5); power = new MageInt(5);
toughness = new MageInt(5); toughness = new MageInt(5);
availableImageSetCodes = Arrays.asList("AKH", "DGM", "NCC"); availableImageSetCodes = Arrays.asList("AKH", "NCC");
}
@Override
public void setExpansionSetCodeForImage(String code) {
super.setExpansionSetCodeForImage(code);
if (getOriginalExpansionSetCode().equals("DGM")) {
this.setTokenType(2);
}
} }
public Wurm55Token(final Wurm55Token token) { public Wurm55Token(final Wurm55Token token) {

View file

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