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
|
@ -149,6 +149,26 @@ public class ScryfallImageSupportTokens {
|
|||
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");
|
||||
|
||||
// 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
|
||||
supportedSets.clear();
|
||||
|
|
|
@ -95,6 +95,7 @@
|
|||
|Generate|EMBLEM:M19|Vivien Reid||Emblem Vivien|VivienReidEmblem|
|
||||
|Generate|EMBLEM:M20|Chandra, Awakened Inferno||Emblem Chandra|ChandraAwakenedInfernoEmblem|
|
||||
|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 - Agyrem|||AgyremPlane|
|
||||
|Generate|PLANE:PCA|Plane - Akoum|||AkoumPlane|
|
||||
|
@ -1285,3 +1286,21 @@
|
|||
|Generate|TOK:M20|Treasure|||TreasureToken|
|
||||
|Generate|TOK:M20|Wolf|||WolfToken|
|
||||
|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;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class FaerieToken extends TokenImpl {
|
||||
|
||||
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);
|
||||
color.setBlue(true);
|
||||
subtype.add(SubType.FAERIE);
|
||||
|
|
|
@ -1,16 +1,14 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LoneFox
|
||||
*/
|
||||
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 {
|
||||
tokenImageSets.addAll(Arrays.asList("EVE", "M13", "M14", "C14"));
|
||||
tokenImageSets.addAll(Arrays.asList("EVE", "M13", "M14", "C14", "ELD"));
|
||||
}
|
||||
|
||||
public GoatToken() {
|
||||
|
|
|
@ -18,7 +18,7 @@ public final class HumanToken extends TokenImpl {
|
|||
subtype.add(SubType.HUMAN);
|
||||
power = 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) {
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
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 {
|
||||
tokenImageSets.addAll(Arrays.asList("ORI", "RTR", "C15", "CMA", "DOM"));
|
||||
tokenImageSets.addAll(Arrays.asList("ORI", "RTR", "C15", "CMA", "DOM", "ELD"));
|
||||
}
|
||||
|
||||
public KnightToken() {
|
||||
|
|
|
@ -1,30 +1,35 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public final class RatToken extends TokenImpl {
|
||||
|
||||
public RatToken() {
|
||||
this("GTC");
|
||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("GTC", "ELD"));
|
||||
}
|
||||
|
||||
public RatToken(String setCode) {
|
||||
public RatToken() {
|
||||
super("Rat", "1/1 black Rat creature token");
|
||||
this.setOriginalExpansionSetCode(setCode);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlack(true);
|
||||
subtype.add(SubType.RAT);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
availableImageSetCodes = tokenImageSets;
|
||||
}
|
||||
|
||||
public RatToken(final RatToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue