mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[ELD] added tokens
This commit is contained in:
parent
2227490413
commit
9d2d318a6c
7 changed files with 73 additions and 33 deletions
|
@ -92,8 +92,8 @@ public class ScryfallImageSupportTokens {
|
||||||
put("MH1/Squirrel", "https://api.scryfall.com/cards/tmh1/15/en?format=image");
|
put("MH1/Squirrel", "https://api.scryfall.com/cards/tmh1/15/en?format=image");
|
||||||
put("MH1/Emblem Wrenn and Six", "https://api.scryfall.com/cards/tmh1/21/en?format=image");
|
put("MH1/Emblem Wrenn and Six", "https://api.scryfall.com/cards/tmh1/21/en?format=image");
|
||||||
put("MH1/Zombie", "https://api.scryfall.com/cards/tmh1/7/en?format=image");
|
put("MH1/Zombie", "https://api.scryfall.com/cards/tmh1/7/en?format=image");
|
||||||
|
|
||||||
//M19
|
// M19
|
||||||
put("M19/Emblem Ajani, Adversary of Tyrants", "https://api.scryfall.com/cards/tm19/15/en?format=image");
|
put("M19/Emblem Ajani, Adversary of Tyrants", "https://api.scryfall.com/cards/tm19/15/en?format=image");
|
||||||
put("M19/Angel", "https://api.scryfall.com/cards/tm19/1/en?format=image");
|
put("M19/Angel", "https://api.scryfall.com/cards/tm19/1/en?format=image");
|
||||||
put("M19/Avatar", "https://api.scryfall.com/cards/tm19/2/en?format=image");
|
put("M19/Avatar", "https://api.scryfall.com/cards/tm19/2/en?format=image");
|
||||||
|
@ -111,7 +111,7 @@ public class ScryfallImageSupportTokens {
|
||||||
put("M19/Thopter", "https://api.scryfall.com/cards/tm19/14/en?format=image");
|
put("M19/Thopter", "https://api.scryfall.com/cards/tm19/14/en?format=image");
|
||||||
put("M19/Emblem Vivien Reid", "https://api.scryfall.com/cards/tm19/17/en?format=image");
|
put("M19/Emblem Vivien Reid", "https://api.scryfall.com/cards/tm19/17/en?format=image");
|
||||||
put("M19/Zombie", "https://api.scryfall.com/cards/tm19/8/en?format=image");
|
put("M19/Zombie", "https://api.scryfall.com/cards/tm19/8/en?format=image");
|
||||||
|
|
||||||
// M20
|
// M20
|
||||||
put("M20/Ajani's Pridemate", "https://api.scryfall.com/cards/tm20/1/en?format=image");
|
put("M20/Ajani's Pridemate", "https://api.scryfall.com/cards/tm20/1/en?format=image");
|
||||||
put("M20/Emblem Chandra, Awakened Inferno", "https://api.scryfall.com/cards/tm20/11/en?format=image");
|
put("M20/Emblem Chandra, Awakened Inferno", "https://api.scryfall.com/cards/tm20/11/en?format=image");
|
||||||
|
@ -125,8 +125,8 @@ public class ScryfallImageSupportTokens {
|
||||||
put("M20/Treasure", "https://api.scryfall.com/cards/tm20/10/en?format=image");
|
put("M20/Treasure", "https://api.scryfall.com/cards/tm20/10/en?format=image");
|
||||||
put("M20/Wolf", "https://api.scryfall.com/cards/tm20/8/en?format=image");
|
put("M20/Wolf", "https://api.scryfall.com/cards/tm20/8/en?format=image");
|
||||||
put("M20/Zombie", "https://api.scryfall.com/cards/tm20/6/en?format=image");
|
put("M20/Zombie", "https://api.scryfall.com/cards/tm20/6/en?format=image");
|
||||||
|
|
||||||
//C18
|
// C18
|
||||||
put("C18/Angel", "https://api.scryfall.com/cards/tc18/3/en?format=image");
|
put("C18/Angel", "https://api.scryfall.com/cards/tc18/3/en?format=image");
|
||||||
put("C18/Cat Warrior", "https://api.scryfall.com/cards/tc18/15/en?format=image");
|
put("C18/Cat Warrior", "https://api.scryfall.com/cards/tc18/15/en?format=image");
|
||||||
put("C18/Cat", "https://api.scryfall.com/cards/tc18/5/en?format=image");
|
put("C18/Cat", "https://api.scryfall.com/cards/tc18/5/en?format=image");
|
||||||
|
@ -149,6 +149,26 @@ public class ScryfallImageSupportTokens {
|
||||||
put("C18/Worm", "https://api.scryfall.com/cards/tc18/18/en?format=image");
|
put("C18/Worm", "https://api.scryfall.com/cards/tc18/18/en?format=image");
|
||||||
put("C18/Zombie", "https://api.scryfall.com/cards/tc18/9/en?format=image");
|
put("C18/Zombie", "https://api.scryfall.com/cards/tc18/9/en?format=image");
|
||||||
|
|
||||||
|
// ELD
|
||||||
|
put("ELD/Bear", "https://api.scryfall.com/cards/teld/8/en?format=image");
|
||||||
|
put("ELD/Boar", "https://api.scryfall.com/cards/teld/9/en?format=image");
|
||||||
|
put("ELD/Dwarf", "https://api.scryfall.com/cards/teld/7/en?format=image");
|
||||||
|
put("ELD/Faerie", "https://api.scryfall.com/cards/teld/5/en?format=image");
|
||||||
|
put("ELD/Food/1", "https://api.scryfall.com/cards/teld/15/en?format=image");
|
||||||
|
put("ELD/Food/2", "https://api.scryfall.com/cards/teld/16/en?format=image");
|
||||||
|
put("ELD/Food/3", "https://api.scryfall.com/cards/teld/17/en?format=image");
|
||||||
|
put("ELD/Food/4", "https://api.scryfall.com/cards/teld/18/en?format=image");
|
||||||
|
put("ELD/Emblem Garruk, Cursed Huntsman", "https://api.scryfall.com/cards/teld/19/en?format=image");
|
||||||
|
put("ELD/Giant", "https://api.scryfall.com/cards/teld/10/en?format=image");
|
||||||
|
put("ELD/Goat", "https://api.scryfall.com/cards/teld/1/en?format=image");
|
||||||
|
put("ELD/Human Cleric", "https://api.scryfall.com/cards/teld/11/en?format=image");
|
||||||
|
put("ELD/Human Rogue", "https://api.scryfall.com/cards/teld/12/en?format=image");
|
||||||
|
put("ELD/Human Warrior", "https://api.scryfall.com/cards/teld/13/en?format=image");
|
||||||
|
put("ELD/Human", "https://api.scryfall.com/cards/teld/2/en?format=image");
|
||||||
|
put("ELD/Knight", "https://api.scryfall.com/cards/teld/3/en?format=image");
|
||||||
|
put("ELD/Mouse", "https://api.scryfall.com/cards/teld/4/en?format=image");
|
||||||
|
put("ELD/Rat", "https://api.scryfall.com/cards/teld/6/en?format=image");
|
||||||
|
put("ELD/Wolf", "https://api.scryfall.com/cards/teld/14/en?format=image");
|
||||||
|
|
||||||
// generate supported sets
|
// generate supported sets
|
||||||
supportedSets.clear();
|
supportedSets.clear();
|
||||||
|
|
|
@ -95,6 +95,7 @@
|
||||||
|Generate|EMBLEM:M19|Vivien Reid||Emblem Vivien|VivienReidEmblem|
|
|Generate|EMBLEM:M19|Vivien Reid||Emblem Vivien|VivienReidEmblem|
|
||||||
|Generate|EMBLEM:M20|Chandra, Awakened Inferno||Emblem Chandra|ChandraAwakenedInfernoEmblem|
|
|Generate|EMBLEM:M20|Chandra, Awakened Inferno||Emblem Chandra|ChandraAwakenedInfernoEmblem|
|
||||||
|Generate|EMBLEM:M20|Mu Yanling, Sky Dancer||Emblem Yanling|MuYanlingSkyDancerEmblem|
|
|Generate|EMBLEM:M20|Mu Yanling, Sky Dancer||Emblem Yanling|MuYanlingSkyDancerEmblem|
|
||||||
|
|Generate|EMBLEM:ELD|Garruk, Cursed Huntsman||Emblem Garruk|GarrukCursedHuntsmanEmblem|
|
||||||
|Generate|PLANE:PCA|Plane - Academy At Tolaria West|||AcademyAtTolariaWestPlane|
|
|Generate|PLANE:PCA|Plane - Academy At Tolaria West|||AcademyAtTolariaWestPlane|
|
||||||
|Generate|PLANE:PCA|Plane - Agyrem|||AgyremPlane|
|
|Generate|PLANE:PCA|Plane - Agyrem|||AgyremPlane|
|
||||||
|Generate|PLANE:PCA|Plane - Akoum|||AkoumPlane|
|
|Generate|PLANE:PCA|Plane - Akoum|||AkoumPlane|
|
||||||
|
@ -1285,3 +1286,21 @@
|
||||||
|Generate|TOK:M20|Treasure|||TreasureToken|
|
|Generate|TOK:M20|Treasure|||TreasureToken|
|
||||||
|Generate|TOK:M20|Wolf|||WolfToken|
|
|Generate|TOK:M20|Wolf|||WolfToken|
|
||||||
|Generate|TOK:M20|Zombie|||ZombieToken|
|
|Generate|TOK:M20|Zombie|||ZombieToken|
|
||||||
|
|Generate|TOK:ELD|Bear|||BearToken|
|
||||||
|
|Generate|TOK:ELD|Boar|||WolfsQuarryToken|
|
||||||
|
|Generate|TOK:ELD|Dwarf|||DwarfToken|
|
||||||
|
|Generate|TOK:ELD|Faerie|||FaerieToken|
|
||||||
|
|Generate|TOK:ELD|Food|1||FoodToken|
|
||||||
|
|Generate|TOK:ELD|Food|2||FoodToken|
|
||||||
|
|Generate|TOK:ELD|Food|3||FoodToken|
|
||||||
|
|Generate|TOK:ELD|Food|4||FoodToken|
|
||||||
|
|Generate|TOK:ELD|Giant|||GiantOpportunityToken|
|
||||||
|
|Generate|TOK:ELD|Goat|||GoatToken|
|
||||||
|
|Generate|TOK:ELD|Human|||HumanToken|
|
||||||
|
|Generate|TOK:ELD|Human Cleric|||OutlawsMerrimentClericToken|
|
||||||
|
|Generate|TOK:ELD|Human Rogue|||OutlawsMerrimentRogueToken|
|
||||||
|
|Generate|TOK:ELD|Human Warrior|||OutlawsMerrimentWarriorToken|
|
||||||
|
|Generate|TOK:ELD|Knight|||KnightToken|
|
||||||
|
|Generate|TOK:ELD|Mouse|||MouseToken|
|
||||||
|
|Generate|TOK:ELD|Rat|||RatToken|
|
||||||
|
|Generate|TOK:ELD|Wolf|||GarrukCursedHuntsmanToken|
|
|
@ -1,19 +1,17 @@
|
||||||
|
|
||||||
|
|
||||||
package mage.game.permanent.token;
|
package mage.game.permanent.token;
|
||||||
import mage.constants.CardType;
|
|
||||||
import mage.constants.SubType;
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.keyword.FlyingAbility;
|
import mage.abilities.keyword.FlyingAbility;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @author spjspj
|
* @author spjspj
|
||||||
*/
|
*/
|
||||||
public final class FaerieToken extends TokenImpl {
|
public final class FaerieToken extends TokenImpl {
|
||||||
|
|
||||||
public FaerieToken() {
|
public FaerieToken() {
|
||||||
super("Faerie", "1/1 blue Faerie creature tokens with flying");
|
super("Faerie", "1/1 blue Faerie creature token with flying");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
color.setBlue(true);
|
color.setBlue(true);
|
||||||
subtype.add(SubType.FAERIE);
|
subtype.add(SubType.FAERIE);
|
||||||
|
|
|
@ -1,16 +1,14 @@
|
||||||
|
|
||||||
|
|
||||||
package mage.game.permanent.token;
|
package mage.game.permanent.token;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @author LoneFox
|
* @author LoneFox
|
||||||
*/
|
*/
|
||||||
public final class GoatToken extends TokenImpl {
|
public final class GoatToken extends TokenImpl {
|
||||||
|
@ -18,7 +16,7 @@ public final class GoatToken extends TokenImpl {
|
||||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
tokenImageSets.addAll(Arrays.asList("EVE", "M13", "M14", "C14"));
|
tokenImageSets.addAll(Arrays.asList("EVE", "M13", "M14", "C14", "ELD"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public GoatToken() {
|
public GoatToken() {
|
||||||
|
@ -46,5 +44,5 @@ public final class GoatToken extends TokenImpl {
|
||||||
|
|
||||||
public GoatToken copy() {
|
public GoatToken copy() {
|
||||||
return new GoatToken(this);
|
return new GoatToken(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ public final class HumanToken extends TokenImpl {
|
||||||
subtype.add(SubType.HUMAN);
|
subtype.add(SubType.HUMAN);
|
||||||
power = new MageInt(1);
|
power = new MageInt(1);
|
||||||
toughness = new MageInt(1);
|
toughness = new MageInt(1);
|
||||||
availableImageSetCodes.addAll(Arrays.asList("DKA", "AVR", "FNMP", "RNA"));
|
availableImageSetCodes.addAll(Arrays.asList("DKA", "AVR", "FNMP", "RNA", "ELD"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public HumanToken(final HumanToken token) {
|
public HumanToken(final HumanToken token) {
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
package mage.game.permanent.token;
|
package mage.game.permanent.token;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.keyword.VigilanceAbility;
|
import mage.abilities.keyword.VigilanceAbility;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
import mage.util.RandomUtil;
|
import mage.util.RandomUtil;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @author LevelX2
|
* @author LevelX2
|
||||||
*/
|
*/
|
||||||
public final class KnightToken extends TokenImpl {
|
public final class KnightToken extends TokenImpl {
|
||||||
|
@ -18,7 +18,7 @@ public final class KnightToken extends TokenImpl {
|
||||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
tokenImageSets.addAll(Arrays.asList("ORI", "RTR", "C15", "CMA", "DOM"));
|
tokenImageSets.addAll(Arrays.asList("ORI", "RTR", "C15", "CMA", "DOM", "ELD"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public KnightToken() {
|
public KnightToken() {
|
||||||
|
|
|
@ -1,30 +1,35 @@
|
||||||
|
|
||||||
|
|
||||||
package mage.game.permanent.token;
|
package mage.game.permanent.token;
|
||||||
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @author LevelX2
|
* @author LevelX2
|
||||||
*/
|
*/
|
||||||
public final class RatToken extends TokenImpl {
|
public final class RatToken extends TokenImpl {
|
||||||
|
|
||||||
public RatToken() {
|
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||||
this("GTC");
|
|
||||||
|
static {
|
||||||
|
tokenImageSets.addAll(Arrays.asList("GTC", "ELD"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public RatToken(String setCode) {
|
public RatToken() {
|
||||||
super("Rat", "1/1 black Rat creature token");
|
super("Rat", "1/1 black Rat creature token");
|
||||||
this.setOriginalExpansionSetCode(setCode);
|
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
color.setBlack(true);
|
color.setBlack(true);
|
||||||
subtype.add(SubType.RAT);
|
subtype.add(SubType.RAT);
|
||||||
power = new MageInt(1);
|
power = new MageInt(1);
|
||||||
toughness = new MageInt(1);
|
toughness = new MageInt(1);
|
||||||
|
|
||||||
|
availableImageSetCodes = tokenImageSets;
|
||||||
}
|
}
|
||||||
|
|
||||||
public RatToken(final RatToken token) {
|
public RatToken(final RatToken token) {
|
||||||
super(token);
|
super(token);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue