Added MM3 token images

This commit is contained in:
PurpleCrowbar 2022-06-06 13:35:19 +01:00
parent c63bd729bd
commit 31e6a5a06f
13 changed files with 59 additions and 29 deletions

View file

@ -1559,6 +1559,29 @@ public class ScryfallImageSupportTokens {
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");
// MM3
put ("MM3/Angel", "https://api.scryfall.com/cards/tmm3/1/en?format=image");
put ("MM3/Beast/1", "https://api.scryfall.com/cards/tmm3/9/en?format=image");
put ("MM3/Beast/2", "https://api.scryfall.com/cards/tmm3/10/en?format=image");
put ("MM3/Bird", "https://api.scryfall.com/cards/tmm3/2/en?format=image");
put ("MM3/Centaur", "https://api.scryfall.com/cards/tmm3/11/en?format=image");
put ("MM3/Emblem Domri", "https://api.scryfall.com/cards/tmm3/21/en?format=image");
put ("MM3/Dragon", "https://api.scryfall.com/cards/tmm3/7/en?format=image");
put ("MM3/Elemental", "https://api.scryfall.com/cards/tmm3/16/en?format=image");
put ("MM3/Elephant", "https://api.scryfall.com/cards/tmm3/12/en?format=image");
put ("MM3/Giant Warrior", "https://api.scryfall.com/cards/tmm3/17/en?format=image");
put ("MM3/Goblin", "https://api.scryfall.com/cards/tmm3/8/en?format=image");
put ("MM3/Goblin Warrior", "https://api.scryfall.com/cards/tmm3/18/en?format=image");
put ("MM3/Phyrexian Golem", "https://api.scryfall.com/cards/tmm3/20/en?format=image");
put ("MM3/Ooze", "https://api.scryfall.com/cards/tmm3/13/en?format=image");
put ("MM3/Saproling", "https://api.scryfall.com/cards/tmm3/14/en?format=image");
put ("MM3/Soldier/1", "https://api.scryfall.com/cards/tmm3/3/en?format=image");
put ("MM3/Soldier/2", "https://api.scryfall.com/cards/tmm3/19/en?format=image");
put ("MM3/Spider", "https://api.scryfall.com/cards/tmm3/5/en?format=image");
put ("MM3/Spirit", "https://api.scryfall.com/cards/tmm3/4/en?format=image");
put ("MM3/Wurm", "https://api.scryfall.com/cards/tmm3/15/en?format=image");
put ("MM3/Zombie", "https://api.scryfall.com/cards/tmm3/6/en?format=image");
// generate supported sets
supportedSets.clear();
for (String cardName : this.keySet()) {

View file

@ -839,26 +839,26 @@
|Generate|TOK:MM2|Thrull|||ThrullToken|
|Generate|TOK:MM2|Wolf|||WolfToken|
|Generate|TOK:MM2|Worm|||BlackGreenWormToken|
|Generate|TOK:MM3|Angel||
|Generate|TOK:MM3|Beast|1|
|Generate|TOK:MM3|Beast|2|
|Generate|TOK:MM3|Bird||
|Generate|TOK:MM3|Centaur||
|Generate|TOK:MM3|Dragon||
|Generate|TOK:MM3|Angel|||AngelToken|
|Generate|TOK:MM3|Beast|1||BeastToken|
|Generate|TOK:MM3|Beast|2||BeastToken2|
|Generate|TOK:MM3|Bird|||BirdToken|
|Generate|TOK:MM3|Centaur|||CentaurToken|
|Generate|TOK:MM3|Dragon|||DragonToken|
|Generate|TOK:MM3|Elemental|||VoiceOfResurgenceToken|
|Generate|TOK:MM3|Elephant||
|Generate|TOK:MM3|Giant Warrior||
|Generate|TOK:MM3|Goblin Warrior||
|Generate|TOK:MM3|Goblin||
|Generate|TOK:MM3|Golem||
|Generate|TOK:MM3|Ooze||
|Generate|TOK:MM3|Saproling||
|Generate|TOK:MM3|Soldier|1|
|Generate|TOK:MM3|Soldier|2|
|Generate|TOK:MM3|Spider||
|Generate|TOK:MM3|Spirit||
|Generate|TOK:MM3|Wurm||
|Generate|TOK:MM3|Zombie||
|Generate|TOK:MM3|Elephant|||ElephantToken|
|Generate|TOK:MM3|Giant Warrior|||GiantBaitingGiantWarriorToken|
|Generate|TOK:MM3|Goblin|||GoblinToken|
|Generate|TOK:MM3|Goblin Warrior|||GoblinWarriorToken|
|Generate|TOK:MM3|Phyrexian Golem|||PhyrexianGolemToken|
|Generate|TOK:MM3|Ooze|||OozeToken|
|Generate|TOK:MM3|Saproling|||SaprolingToken|
|Generate|TOK:MM3|Soldier|1||SoldierToken|
|Generate|TOK:MM3|Soldier|2||SoldierTokenWithHaste|
|Generate|TOK:MM3|Spider|||PenumbraSpiderToken|
|Generate|TOK:MM3|Spirit|||SpiritWhiteToken|
|Generate|TOK:MM3|Wurm|||WurmWithTrampleToken|
|Generate|TOK:MM3|Zombie|||ZombieToken|
|Generate|TOK:MMA|Bat|||BatToken|
|Generate|TOK:MMA|Dragon|||DragonToken|
|Generate|TOK:MMA|Elemental|||WalkerOfTheGroveToken|

View file

@ -45,7 +45,7 @@ public final class BeastToken extends TokenImpl {
setTokenType(RandomUtil.nextInt(2) + 1);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MM3")) {
setTokenType(RandomUtil.nextInt(2) + 1);
setTokenType(1);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("CMA")) {
setTokenType(1);

View file

@ -20,7 +20,7 @@ public final class BeastToken2 extends TokenImpl {
toughness = new MageInt(4);
availableImageSetCodes = Arrays.asList("C14", "C15", "C18", "C19", "CMA", "CMD", "GVL", "DDD",
"E01", "ODY", "SCG", "ZEN", "C20", "ZNC", "CMR", "C21", "MH2", "MID", "IMA");
"E01", "ODY", "SCG", "ZEN", "C20", "ZNC", "CMR", "C21", "MH2", "MID", "IMA", "MM3");
}
public BeastToken2(final BeastToken2 token) {
@ -71,5 +71,9 @@ public final class BeastToken2 extends TokenImpl {
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("GVL")) {
this.setTokenType(2);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MM3")) {
this.setTokenType(2);
}
}
}

View file

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

View file

@ -20,7 +20,7 @@ public final class ElephantToken extends TokenImpl {
toughness = new MageInt(3);
availableImageSetCodes = Arrays.asList("C14", "C15", "CMA", "CMD", "CNS", "GVL", "DDD",
"EMA", "INV", "JUD", "MM2", "ODY", "TSP", "VMA", "WWK", "MH1", "CMR", "C21", "MIC", "NEC", "2XM", "NCC");
"EMA", "INV", "JUD", "MM2", "ODY", "TSP", "VMA", "WWK", "MH1", "CMR", "C21", "MIC", "NEC", "2XM", "NCC", "MM3");
}
public ElephantToken(final ElephantToken token) {

View file

@ -6,6 +6,8 @@ import mage.constants.SubType;
import mage.MageInt;
import mage.abilities.keyword.HasteAbility;
import java.util.Arrays;
/**
*
* @author spjspj
@ -22,6 +24,8 @@ public final class GiantBaitingGiantWarriorToken extends TokenImpl {
power = new MageInt(4);
toughness = new MageInt(4);
this.addAbility(HasteAbility.getInstance());
availableImageSetCodes = Arrays.asList("SHM", "MM3");
}
public GiantBaitingGiantWarriorToken(final GiantBaitingGiantWarriorToken token) {

View file

@ -21,7 +21,7 @@ public final class GoblinWarriorToken extends TokenImpl {
power = new MageInt(1);
toughness = new MageInt(1);
availableImageSetCodes.addAll(Arrays.asList("C20"));
availableImageSetCodes = Arrays.asList("SHM", "MM3", "C20");
}
public GoblinWarriorToken(final GoblinWarriorToken token) {

View file

@ -24,7 +24,7 @@ public final class PenumbraSpiderToken extends TokenImpl {
addAbility(ReachAbility.getInstance());
availableImageSetCodes = Arrays.asList("MMA", "PC2", "TSP", "TSR", "PCA");
availableImageSetCodes = Arrays.asList("MMA", "PC2", "TSP", "TSR", "PCA", "MM3");
}
public PenumbraSpiderToken(final PenumbraSpiderToken token) {

View file

@ -20,7 +20,7 @@ public final class PhyrexianGolemToken extends TokenImpl {
power = new MageInt(3);
toughness = new MageInt(3);
availableImageSetCodes = Arrays.asList("MM2", "NPH", "SOM", "MH1", "M20", "CMR");
availableImageSetCodes = Arrays.asList("MM2", "NPH", "SOM", "MH1", "M20", "CMR", "MM3");
}
public PhyrexianGolemToken(final PhyrexianGolemToken token) {

View file

@ -32,7 +32,6 @@ public final class SaprolingToken extends TokenImpl {
"NEM",
"RTR",
"C15",
"MM3",
"INV",
"C16", // 2 different token images...
"CMA",

View file

@ -39,7 +39,7 @@ public final class SoldierToken extends TokenImpl {
super.setExpansionSetCodeForImage(code);
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MM3")) {
this.setTokenType(RandomUtil.nextInt(2) + 1);
this.setTokenType(1);
}
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("THS")) {
this.setTokenType(RandomUtil.nextInt(2) + 1);

View file

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