mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
* Some fixes to token image downloading.
This commit is contained in:
parent
7e99a027d2
commit
c9603d1994
14 changed files with 231 additions and 255 deletions
|
|
@ -198,7 +198,7 @@ public enum SubType {
|
|||
LHURGOYF("Lhurgoyf", SubTypeSet.CreatureType),
|
||||
LICID("Licid", SubTypeSet.CreatureType),
|
||||
LIZARD("Lizard", SubTypeSet.CreatureType),
|
||||
LOBSTER("Lobster", SubTypeSet.CreatureType, true), // Unglued
|
||||
LOBSTER("Lobster", SubTypeSet.CreatureType, true), // Unglued
|
||||
// M
|
||||
MANTELLIAN("Mantellian", SubTypeSet.CreatureType, true), // Star Wars
|
||||
MANTICORE("Manticore", SubTypeSet.CreatureType),
|
||||
|
|
@ -442,6 +442,16 @@ public enum SubType {
|
|||
return subTypeSet;
|
||||
}
|
||||
|
||||
public static Set<SubType> getPlaneswalkerTypes(boolean withCustomSets) {
|
||||
Set<SubType> subTypes = EnumSet.noneOf(SubType.class);
|
||||
for (SubType subType : values()) {
|
||||
if (subType.getSubTypeSet() == SubTypeSet.PlaneswalkerType && (withCustomSets || !subType.customSet)) {
|
||||
subTypes.add(subType);
|
||||
}
|
||||
}
|
||||
return subTypes;
|
||||
}
|
||||
|
||||
public static Set<SubType> getCreatureTypes(boolean customSet) {
|
||||
Set<SubType> subTypes = EnumSet.noneOf(SubType.class);
|
||||
for (SubType s : values()) {
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ import mage.game.events.GameEvent;
|
|||
public class GideonOfTheTrialsEmblem extends Emblem {
|
||||
|
||||
public GideonOfTheTrialsEmblem() {
|
||||
this.setName("Emblem - Gideon of the Trials");
|
||||
this.setName("Emblem - Gideon");
|
||||
Ability ability = new SimpleStaticAbility(Zone.COMMAND, new GideonOfTheTrialsCantLoseEffect());
|
||||
this.getAbilities().add(ability);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ public class RekindlingPhoenixToken extends Token {
|
|||
|
||||
public RekindlingPhoenixToken() {
|
||||
super("Elemental", "0/1 red Elemental creature token with \"At the beginning of your upkeep, sacrifice this creature and return target card named Rekindling Phoenix from your graveyard to the battlefield. It gains haste until end of turn.\"");
|
||||
setTokenType(1);
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.THRULL);
|
||||
color.setRed(true);
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ public class TilonallisSummonerElementalToken extends Token {
|
|||
|
||||
public TilonallisSummonerElementalToken() {
|
||||
super("Elemental", "1/1 red Elemental creature tokens");
|
||||
setTokenType(2);
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.ELEMENTAL);
|
||||
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@
|
|||
* authors and should not be interpreted as representing official policies, either expressed
|
||||
* or implied, of BetaSteward_at_googlemail.com.
|
||||
*/
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -40,6 +40,7 @@ public class WandOfTheElementsFirstToken extends Token {
|
|||
|
||||
public WandOfTheElementsFirstToken() {
|
||||
super("Elemental", "2/2 blue Elemental creature token with flying");
|
||||
setTokenType(1);
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.color.setBlue(true);
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@
|
|||
* authors and should not be interpreted as representing official policies, either expressed
|
||||
* or implied, of BetaSteward_at_googlemail.com.
|
||||
*/
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -39,6 +39,7 @@ public class WandOfTheElementsSecondToken extends Token {
|
|||
|
||||
public WandOfTheElementsSecondToken() {
|
||||
super("Elemental", "3/3 red Elemental creature token");
|
||||
setTokenType(2);
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.color.setRed(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue