mirror of
https://github.com/correl/mage.git
synced 2024-11-28 11:09:54 +00:00
Add DMR token images
This commit is contained in:
parent
04e6b16899
commit
112f7af0fb
16 changed files with 54 additions and 13 deletions
|
@ -1845,6 +1845,22 @@ public class ScryfallImageSupportTokens {
|
|||
put ("BRC/Servo", "https://api.scryfall.com/cards/tbrc/13/en?format=image");
|
||||
put ("BRC/Thopter", "https://api.scryfall.com/cards/tbrc/6/en?format=image");
|
||||
|
||||
// DMR
|
||||
put ("DMR/Bird", "https://api.scryfall.com/cards/tdmr/1/en?format=image");
|
||||
put ("DMR/Cat/1", "https://api.scryfall.com/cards/tdmr/3/en?format=image");
|
||||
put ("DMR/Cat/2", "https://api.scryfall.com/cards/tdmr/8/en?format=image");
|
||||
put ("DMR/Construct", "https://api.scryfall.com/cards/tdmr/14/en?format=image");
|
||||
put ("DMR/Elemental", "https://api.scryfall.com/cards/tdmr/6/en?format=image");
|
||||
put ("DMR/ELephant", "https://api.scryfall.com/cards/tdmr/9/en?format=image");
|
||||
put ("DMR/Goblin", "https://api.scryfall.com/cards/tdmr/7/en?format=image");
|
||||
put ("DMR/Griffin", "https://api.scryfall.com/cards/tdmr/2/en?format=image");
|
||||
put ("DMR/Insect", "https://api.scryfall.com/cards/tdmr/10/en?format=image");
|
||||
put ("DMR/Marit Lage", "https://api.scryfall.com/cards/tdmr/4/en?format=image");
|
||||
put ("DMR/Saproling", "https://api.scryfall.com/cards/tdmr/11/en?format=image");
|
||||
put ("DMR/Sheep", "https://api.scryfall.com/cards/tdmr/12/en?format=image");
|
||||
put ("DMR/Squirrel", "https://api.scryfall.com/cards/tdmr/13/en?format=image");
|
||||
put ("DMR/Zombie", "https://api.scryfall.com/cards/tdmr/5/en?format=image");
|
||||
|
||||
// generate supported sets
|
||||
supportedSets.clear();
|
||||
for (String cardName : this.keySet()) {
|
||||
|
|
|
@ -1966,3 +1966,19 @@
|
|||
|Generate|TOK:BRC|Scrap|||ScrapToken|
|
||||
|Generate|TOK:BRC|Servo|||ServoToken|
|
||||
|Generate|TOK:BRC|Thopter|||ThopterToken|
|
||||
|
||||
# DMR
|
||||
|Generate|TOK:DMR|Bird|||BirdToken|
|
||||
|Generate|TOK:DMR|Cat|1||PenumbraBobcatToken|
|
||||
|Generate|TOK:DMR|Cat|2||GreenCat2Token|
|
||||
|Generate|TOK:DMR|Construct|||KarnConstructToken|
|
||||
|Generate|TOK:DMR|Elemental|||Elemental31TrampleHasteToken|
|
||||
|Generate|TOK:DMR|Elephant|||ElephantToken|
|
||||
|Generate|TOK:DMR|Goblin|||GoblinToken|
|
||||
|Generate|TOK:DMR|Griffin|||GriffinToken|
|
||||
|Generate|TOK:DMR|Insect|||InsectToken|
|
||||
|Generate|TOK:DMR|Marit Lage|||MaritLageToken|
|
||||
|Generate|TOK:DMR|Saproling|||SaprolingToken|
|
||||
|Generate|TOK:DMR|Sheep|||SheepToken|
|
||||
|Generate|TOK:DMR|Squirrel|||SquirrelToken|
|
||||
|Generate|TOK:DMR|Zombie|||ZombieToken|
|
||||
|
|
|
@ -4,7 +4,6 @@ import mage.MageInt;
|
|||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
|
@ -24,7 +23,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", "DMU");
|
||||
"MH1", "C16", "C20", "M21", "ZNC", "KHC", "MH2", "IMA", "CM2", "DMU", "DMR");
|
||||
}
|
||||
|
||||
public BirdToken(final BirdToken token) {
|
||||
|
|
|
@ -22,7 +22,7 @@ public final class Elemental31TrampleHasteToken extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
availableImageSetCodes.addAll(Arrays.asList("BFZ", "MH1", "DOM"));
|
||||
availableImageSetCodes.addAll(Arrays.asList("BFZ", "MH1", "DOM", "DMR"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class ElephantToken extends TokenImpl {
|
|||
toughness = new MageInt(3);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("C14", "C15", "CMA", "CNS", "GVL", "DDD",
|
||||
"EMA", "INV", "JUD", "MM2", "ODY", "VMA", "WWK", "MH1", "CMR", "C21", "MIC", "NEC", "2XM", "NCC", "MM3", "DDS", "DMC");
|
||||
"EMA", "INV", "JUD", "MM2", "ODY", "VMA", "WWK", "MH1", "CMR", "C21", "MIC", "NEC", "2XM", "NCC", "MM3", "DDS", "DMC", "DMR");
|
||||
}
|
||||
|
||||
public ElephantToken(final ElephantToken token) {
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class GoblinToken extends TokenImpl {
|
|||
"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", "DMU");
|
||||
"GK1", "DMU", "DMR");
|
||||
}
|
||||
|
||||
public GoblinToken(final GoblinToken token) {
|
||||
|
|
|
@ -19,7 +19,7 @@ public final class GreenCat2Token extends TokenImpl {
|
|||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("M21", "KHM");
|
||||
availableImageSetCodes = Arrays.asList("M21", "KHM", "DMR");
|
||||
}
|
||||
|
||||
private GreenCat2Token(final GreenCat2Token token) {
|
||||
|
@ -37,5 +37,8 @@ public final class GreenCat2Token extends TokenImpl {
|
|||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("M21")) {
|
||||
this.setTokenType(2);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("DMR")) {
|
||||
this.setTokenType(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class GriffinToken extends TokenImpl {
|
|||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("DDH", "DDL", "M21", "TSR", "DMC");
|
||||
availableImageSetCodes = Arrays.asList("DDH", "DDL", "M21", "TSR", "DMC", "DMR");
|
||||
}
|
||||
|
||||
public GriffinToken(final GriffinToken token) {
|
||||
|
|
|
@ -24,7 +24,7 @@ public final class InsectToken extends TokenImpl {
|
|||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("M10", "MM2", "SOI", "ZNR", "VOW", "NCC", "PCA", "CN2", "A25");
|
||||
availableImageSetCodes = Arrays.asList("M10", "MM2", "SOI", "ZNR", "VOW", "NCC", "PCA", "CN2", "A25", "DMR");
|
||||
}
|
||||
|
||||
public InsectToken(final InsectToken token) {
|
||||
|
|
|
@ -29,7 +29,7 @@ public final class KarnConstructToken extends TokenImpl {
|
|||
.setText("This creature gets +1/+1 for each artifact you control")
|
||||
));
|
||||
|
||||
availableImageSetCodes = Arrays.asList("DOM", "MH1", "C21", "MH2", "MED", "BRO");
|
||||
availableImageSetCodes = Arrays.asList("DOM", "MH1", "C21", "MH2", "MED", "BRO", "DMR");
|
||||
}
|
||||
|
||||
public KarnConstructToken(final KarnConstructToken token) {
|
||||
|
|
|
@ -27,7 +27,7 @@ public final class MaritLageToken extends TokenImpl {
|
|||
this.addAbility(FlyingAbility.getInstance());
|
||||
this.addAbility(IndestructibleAbility.getInstance());
|
||||
|
||||
availableImageSetCodes.addAll(Arrays.asList("CSP", "MH1", "UMA", "2XM", "V16"));
|
||||
availableImageSetCodes.addAll(Arrays.asList("CSP", "MH1", "UMA", "2XM", "V16", "DMR"));
|
||||
}
|
||||
|
||||
public MaritLageToken(final MaritLageToken token) {
|
||||
|
|
|
@ -18,6 +18,9 @@ public final class PenumbraBobcatToken extends TokenImpl {
|
|||
subtype.add(SubType.CAT);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
setOriginalExpansionSetCode("DMR");
|
||||
setTokenType(1);
|
||||
}
|
||||
|
||||
public PenumbraBobcatToken(final PenumbraBobcatToken token) {
|
||||
|
|
|
@ -56,7 +56,8 @@ public final class SaprolingToken extends TokenImpl {
|
|||
"GK2",
|
||||
"CLB",
|
||||
"2X2",
|
||||
"DMU"
|
||||
"DMU",
|
||||
"DMR"
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ public final class SheepToken extends TokenImpl {
|
|||
subtype.add(SubType.SHEEP);
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
setOriginalExpansionSetCode("DMR");
|
||||
}
|
||||
|
||||
public SheepToken(final SheepToken token) {
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class SquirrelToken extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("CNS", "ODY", "PCY", "TOR", "ULG", "UNH", "WMA",
|
||||
"WTH", "MH1", "MH2", "2XM", "CLB");
|
||||
"WTH", "MH1", "MH2", "2XM", "CLB", "DMR");
|
||||
}
|
||||
|
||||
public SquirrelToken(final SquirrelToken token) {
|
||||
|
|
|
@ -33,7 +33,8 @@ public final class ZombieToken extends TokenImpl {
|
|||
"MIC", "VOW", "UMA", "NCC",
|
||||
"MED", "BBD", "M19", "CM2",
|
||||
"PCA", "AVR", "DDQ", "CN2",
|
||||
"2X2", "CC2", "DMC", "GN3");
|
||||
"2X2", "CC2", "DMC", "GN3",
|
||||
"DMR");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue