mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Added GTC token images
This commit is contained in:
parent
d4de0e8729
commit
2ccf911fc4
8 changed files with 24 additions and 12 deletions
|
@ -1348,6 +1348,16 @@ public class ScryfallImageSupportTokens {
|
|||
put ("RTR/Soldier", "https://api.scryfall.com/cards/trtr/3/en?format=image");
|
||||
put ("RTR/Wurm", "https://api.scryfall.com/cards/trtr/11/en?format=image");
|
||||
|
||||
// GTC
|
||||
put ("GTC/Angel", "https://api.scryfall.com/cards/tgtc/1/en?format=image");
|
||||
put ("GTC/Cleric", "https://api.scryfall.com/cards/tgtc/4/en?format=image");
|
||||
put ("GTC/Emblem Domri Rade", "https://api.scryfall.com/cards/tgtc/8/en?format=image");
|
||||
put ("GTC/Frog Lizard", "https://api.scryfall.com/cards/tgtc/3/en?format=image");
|
||||
put ("GTC/Horror", "https://api.scryfall.com/cards/tgtc/5/en?format=image");
|
||||
put ("GTC/Rat", "https://api.scryfall.com/cards/tgtc/2/en?format=image");
|
||||
put ("GTC/Soldier", "https://api.scryfall.com/cards/tgtc/6/en?format=image");
|
||||
put ("GTC/Spirit", "https://api.scryfall.com/cards/tgtc/7/en?format=image");
|
||||
|
||||
// generate supported sets
|
||||
supportedSets.clear();
|
||||
for (String cardName : this.keySet()) {
|
||||
|
|
|
@ -668,14 +668,11 @@
|
|||
|Generate|TOK:GPT|Wurm|||WurmToken|
|
||||
|Generate|TOK:GTC|Angel|||AngelToken|
|
||||
|Generate|TOK:GTC|Cleric|||DeathpactAngelToken|
|
||||
|Generate|TOK:GTC|Frog Lizard|||RapidHybridizationToken|
|
||||
|Generate|TOK:GTC|Frog Lizard|||FrogLizardToken|
|
||||
|Generate|TOK:GTC|Horror|||NightwingHorrorToken|
|
||||
|Generate|TOK:GTC|Knight|||KnightWatch|
|
||||
|Generate|TOK:GTC|Ooze|||MysticGenesisOozeToken|
|
||||
|Generate|TOK:GTC|Rat|||RatToken|
|
||||
|Generate|TOK:GTC|Soldier|1||SoldierToken|
|
||||
|Generate|TOK:GTC|Soldier|2||SoldierTokenWithHaste|
|
||||
|Generate|TOK:GTC|Spirit|||TeysaEnvoyOfGhostsToken|
|
||||
|Generate|TOK:GTC|Soldier|||SoldierTokenWithHaste|
|
||||
|Generate|TOK:GTC|Spirit|||WhiteBlackSpiritToken|
|
||||
|Generate|TOK:H17|Dragon|||DragonTokenGold|
|
||||
|Generate|TOK:HML|Plant Wall|||KelpToken|
|
||||
|Generate|TOK:HML|Serf|||SerfToken|
|
||||
|
|
|
@ -22,7 +22,7 @@ public final class DomriRadeEmblem extends Emblem {
|
|||
// "Creatures you control have double strike, trample, hexproof and haste."
|
||||
|
||||
public DomriRadeEmblem() {
|
||||
this.setName("Emblem Domri Rade");
|
||||
this.setName("Emblem Domri");
|
||||
FilterPermanent filter = new FilterControlledCreaturePermanent("Creatures");
|
||||
|
||||
CompoundAbility compoundAbilities = new CompoundAbility(
|
||||
|
|
|
@ -15,6 +15,8 @@ import mage.filter.common.FilterCreatureCard;
|
|||
import mage.filter.predicate.mageobject.NamePredicate;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
|
@ -44,6 +46,8 @@ public final class DeathpactAngelToken extends TokenImpl {
|
|||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetCardInYourGraveyard(filter));
|
||||
this.addAbility(ability);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("GTC", "GK2");
|
||||
}
|
||||
|
||||
public DeathpactAngelToken(final DeathpactAngelToken token) {
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class FrogLizardToken extends TokenImpl {
|
|||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("RNA", "C15", "C21");
|
||||
availableImageSetCodes = Arrays.asList("GTC", "RNA", "C15", "C21");
|
||||
}
|
||||
|
||||
public FrogLizardToken(final FrogLizardToken token) {
|
||||
|
|
|
@ -6,6 +6,8 @@ import mage.constants.SubType;
|
|||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
|
@ -23,6 +25,8 @@ public final class NightwingHorrorToken extends TokenImpl {
|
|||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("GTC");
|
||||
}
|
||||
|
||||
public NightwingHorrorToken(final NightwingHorrorToken token) {
|
||||
|
|
|
@ -30,9 +30,6 @@ public final class SoldierTokenWithHaste extends TokenImpl {
|
|||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("GTC")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MM3")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ public final class WhiteBlackSpiritToken extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes.addAll(Arrays.asList("MH1", "C15", "C21", "UMA"));
|
||||
availableImageSetCodes.addAll(Arrays.asList("GTC", "MH1", "C15", "C21", "UMA"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue