mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
Add BRO token images
This commit is contained in:
parent
c0a1be5f24
commit
2ff33f2b94
9 changed files with 42 additions and 4 deletions
|
@ -1817,6 +1817,20 @@ public class ScryfallImageSupportTokens {
|
|||
put ("40K/Tyranid Gargoyle", "https://api.scryfall.com/cards/t40k/9/en?format=image");
|
||||
put ("40K/Tyranid Warrior", "https://api.scryfall.com/cards/t40k/19/en?format=image");
|
||||
|
||||
// BRO
|
||||
put ("BRO/Bear", "https://api.scryfall.com/cards/tbro/2/en?format=image");
|
||||
put ("BRO/Construct/1", "https://api.scryfall.com/cards/tbro/5/en?format=image");
|
||||
put ("BRO/Construct/2", "https://api.scryfall.com/cards/tbro/4/en?format=image");
|
||||
put ("BRO/Forest Dryad", "https://api.scryfall.com/cards/tbro/3/en?format=image");
|
||||
put ("BRO/Golem", "https://api.scryfall.com/cards/tbro/6/en?format=image");
|
||||
put ("BRO/Powerstone", "https://api.scryfall.com/cards/tbro/7/en?format=image");
|
||||
put ("BRO/Emblem Saheeli, Filigree Master", "https://api.scryfall.com/cards/tbro/12/en?format=image");
|
||||
put ("BRO/Soldier/1", "https://api.scryfall.com/cards/tbro/8/en?format=image");
|
||||
put ("BRO/Soldier/2", "https://api.scryfall.com/cards/tbro/9/en?format=image");
|
||||
put ("BRO/Spirit", "https://api.scryfall.com/cards/tbro/1/en?format=image");
|
||||
put ("BRO/Thopter", "https://api.scryfall.com/cards/tbro/10/en?format=image");
|
||||
put ("BRO/Zombie", "https://api.scryfall.com/cards/tbro/11/en?format=image");
|
||||
|
||||
// generate supported sets
|
||||
supportedSets.clear();
|
||||
for (String cardName : this.keySet()) {
|
||||
|
|
|
@ -137,6 +137,7 @@
|
|||
|Generate|EMBLEM:2X2|Wrenn and Six||Emblem Wrenn|WrennAndSixEmblem|
|
||||
|Generate|EMBLEM:DMU|Ajani, Sleeper Agent||Emblem Ajani|AjaniSleeperAgentEmblem|
|
||||
|Generate|EMBLEM:DMU|Jaya, Fiery Negotiator||Emblem Jaya|JayaFieryNegotiatorEmblem|
|
||||
|Generate|EMBLEM:BRO|Saheeli, Filigree Master||Emblem Saheeli|SaheeliFiligreeMasterEmblem|
|
||||
|
||||
# Planes
|
||||
|Generate|PLANE:PCA|Plane - Academy at Tolaria West|||AcademyAtTolariaWestPlane|
|
||||
|
@ -1938,3 +1939,16 @@
|
|||
|Generate|TOK:40K|Tyranid|2||Tyranid55Token|
|
||||
|Generate|TOK:40K|Tyranid Gargoyle|||TyranidGargoyleToken|
|
||||
|Generate|TOK:40K|Tyranid Warrior|||TyranidWarriorToken|
|
||||
|
||||
# BRO
|
||||
|Generate|TOK:BRO|Bear|||BearToken|
|
||||
|Generate|TOK:BRO|Construct|1||KarnConstructToken|
|
||||
|Generate|TOK:BRO|Construct|2||Construct2Token|
|
||||
|Generate|TOK:BRO|Forest Dryad|||ForestDryadToken|
|
||||
|Generate|TOK:BRO|Golem|||GolemXXToken|
|
||||
|Generate|TOK:BRO|Powerstone|||PowerstoneToken|
|
||||
|Generate|TOK:BRO|Soldier|1||SoldierArtifactToken|
|
||||
|Generate|TOK:BRO|Soldier|2||SoldierArtifactToken|
|
||||
|Generate|TOK:BRO|Spirit|||SpiritTeferiToken|
|
||||
|Generate|TOK:BRO|Thopter|||ThopterColorlessToken|
|
||||
|Generate|TOK:BRO|Zombie|||AshnodZombieToken|
|
||||
|
|
|
@ -19,7 +19,7 @@ public final class BearToken extends TokenImpl {
|
|||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("C15", "JUD", "ODY", "VMA", "MH1", "ELD", "KHM", "DMC");
|
||||
availableImageSetCodes = Arrays.asList("C15", "JUD", "ODY", "VMA", "MH1", "ELD", "KHM", "DMC", "BRO");
|
||||
}
|
||||
|
||||
public BearToken(final BearToken token) {
|
||||
|
|
|
@ -17,6 +17,9 @@ public class Construct2Token extends TokenImpl {
|
|||
subtype.add(SubType.CONSTRUCT);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
||||
this.setExpansionSetCodeForImage("BRO");
|
||||
this.setTokenType(2);
|
||||
}
|
||||
|
||||
private Construct2Token(final Construct2Token token) {
|
||||
|
|
|
@ -30,7 +30,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");
|
||||
availableImageSetCodes = Arrays.asList("DOM", "MH1", "C21", "MH2", "MED", "BRO");
|
||||
}
|
||||
|
||||
public KarnConstructToken(final KarnConstructToken token) {
|
||||
|
@ -51,5 +51,8 @@ public final class KarnConstructToken extends TokenImpl {
|
|||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MED")) {
|
||||
setTokenType(1);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("BRO")) {
|
||||
setTokenType(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ public final class PowerstoneToken extends TokenImpl {
|
|||
// {T}: Add {C}. This mana can't be spent to cast a nonartifact spell.
|
||||
this.addAbility(new ConditionalColorlessManaAbility(1, makeBuilder()));
|
||||
|
||||
availableImageSetCodes = Arrays.asList("DMU");
|
||||
availableImageSetCodes = Arrays.asList("DMU", "BRO");
|
||||
}
|
||||
|
||||
public PowerstoneToken(final PowerstoneToken token) {
|
||||
|
|
|
@ -3,6 +3,7 @@ package mage.game.permanent.token;
|
|||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
|
@ -20,6 +21,7 @@ public final class SoldierArtifactToken extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("BRO");
|
||||
this.setTokenType(RandomUtil.nextInt(2) + 1);
|
||||
}
|
||||
|
||||
public SoldierArtifactToken(final SoldierArtifactToken token) {
|
||||
|
|
|
@ -23,6 +23,8 @@ public class SpiritTeferiToken extends TokenImpl {
|
|||
toughness = new MageInt(2);
|
||||
addAbility(VigilanceAbility.getInstance());
|
||||
addAbility(new DrawCardControllerTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false));
|
||||
|
||||
this.setExpansionSetCodeForImage("BRO");
|
||||
}
|
||||
|
||||
private SpiritTeferiToken(final SpiritTeferiToken token) {
|
||||
|
|
|
@ -24,7 +24,7 @@ public final class ThopterColorlessToken extends TokenImpl {
|
|||
addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("C18", "KLD", "MBS", "ORI", "VMA", "M19", "ZNC",
|
||||
"KHC", "C21", "MH2", "AFC", "VOC", "NEC", "2XM", "RNA", "NCC", "DDU");
|
||||
"KHC", "C21", "MH2", "AFC", "VOC", "NEC", "2XM", "RNA", "NCC", "DDU", "BRO");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue