mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Replaced use of static color object.
This commit is contained in:
parent
3642d40548
commit
3a63108ff3
96 changed files with 117 additions and 101 deletions
|
@ -129,7 +129,7 @@ class LizardToken extends Token {
|
|||
public LizardToken() {
|
||||
super("Lizard", "2/2 green Lizard creature token onto the battlefield");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Lizard");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -99,7 +99,7 @@ class HippoToken extends Token {
|
|||
public HippoToken() {
|
||||
super("Hippo", "1/1 green Hippo creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Hippo");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -70,7 +70,8 @@ class AngelTombToken extends Token {
|
|||
super("", "a 3/3 white Angel artifact creature with flying");
|
||||
cardType.add(CardType.ARTIFACT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Angel");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
|
|
@ -74,7 +74,7 @@ class DemonToken extends Token {
|
|||
public DemonToken() {
|
||||
super("Demon", "a 5/5 black Demon creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Demon");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
|
|
@ -72,7 +72,8 @@ class HumanToken extends Token {
|
|||
public HumanToken() {
|
||||
super("Human", "1/1 white Human creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Human");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -76,7 +76,7 @@ class AerieWorshippersBirdToken extends Token {
|
|||
super("Bird", "2/2 blue Bird enchantment creature token with flying");
|
||||
cardType.add(CardType.ENCHANTMENT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLUE;
|
||||
color.setBlue(true);
|
||||
subtype.add("Bird");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -77,7 +77,7 @@ class ForlornPseudammaZombieToken extends Token {
|
|||
super("Zombie", "2/2 black Zombie enchantment creature token");
|
||||
cardType.add(CardType.ENCHANTMENT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Zombie");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -29,7 +29,6 @@ package mage.sets.bornofthegods;
|
|||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
|
@ -75,7 +74,8 @@ class SoldierToken extends Token {
|
|||
super("Soldier", "1/1 white Soldier enchantment creature token");
|
||||
cardType.add(CardType.ENCHANTMENT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Soldier");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -194,7 +194,7 @@ class KioraKrakenToken extends Token {
|
|||
public KioraKrakenToken() {
|
||||
super("Kraken", "9/9 blue Kraken creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLUE;
|
||||
color.setBlue(true);
|
||||
subtype.add("Kraken");
|
||||
power = new MageInt(9);
|
||||
toughness = new MageInt(9);
|
||||
|
|
|
@ -83,7 +83,8 @@ class BirdToken extends Token {
|
|||
super("Bird", "1/1 white Bird creature tokens with flying");
|
||||
this.setOriginalExpansionSetCode("BNG");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Bird");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -100,7 +100,7 @@ class WolfToken extends Token {
|
|||
super("Wolf", "2/2 green Wolf creature token");
|
||||
this.setOriginalExpansionSetCode("BNG");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Wolf");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -79,7 +79,7 @@ class SatyrNyxSmithElementalToken extends Token {
|
|||
super("Elemental", "3/1 red Elemental enchantment creature token with haste");
|
||||
cardType.add(CardType.ENCHANTMENT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Elemental");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
package mage.sets.bornofthegods.TokenAndCounters;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.Token;
|
||||
|
@ -42,7 +41,8 @@ public class CatSoldierCreatureToken extends Token {
|
|||
public CatSoldierCreatureToken() {
|
||||
super("Cat Soldier", "1/1 white Cat Soldier creature token with vigilance");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Cat");
|
||||
subtype.add("Soldier");
|
||||
power = new MageInt(1);
|
||||
|
|
|
@ -42,7 +42,7 @@ public class CentaurEnchantmentCreatureToken extends Token {
|
|||
super("Centaur", "3/3 green Centaur enchantment creature token");
|
||||
cardType.add(CardType.ENCHANTMENT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Centaur");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
|
|
@ -157,7 +157,7 @@ class TatsumaDragonToken extends Token {
|
|||
public TatsumaDragonToken() {
|
||||
super("Dragon Spirit", "5/5 blue Dragon Spirit creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLUE;
|
||||
color.setBlue(true);
|
||||
subtype.add("Dragon");
|
||||
subtype.add("Spirit");
|
||||
power = new MageInt(5);
|
||||
|
|
|
@ -106,7 +106,7 @@ class DragonToken extends Token {
|
|||
public DragonToken() {
|
||||
super("Dragon", "5/5 red Dragon creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Dragon");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
|
|
@ -79,7 +79,7 @@ class OneDozenEyesBeastToken extends Token {
|
|||
public OneDozenEyesBeastToken() {
|
||||
super("Beast", "5/5 green Beast creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Beast");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
|
|
@ -81,7 +81,7 @@ class OphiomancerSnakeToken extends Token {
|
|||
public OphiomancerSnakeToken() {
|
||||
super("Snake", "1/1 black Snake creature token with deathtouch");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Snake");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -91,7 +91,7 @@ class SpawningGroundsBeastToken extends Token {
|
|||
public SpawningGroundsBeastToken() {
|
||||
super("Beast", "5/5 green Beast creature token with trample");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Beast");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
|
|
@ -143,7 +143,8 @@ class GoatToken extends Token {
|
|||
super("Goat", "0/1 white Goat creature token");
|
||||
setOriginalExpansionSetCode("EVE");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Goat");
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -80,7 +80,7 @@ class ElementalToken extends Token {
|
|||
public ElementalToken() {
|
||||
super("Elemental", "3/1 red Elemental creature with Haste");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Elemental");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -71,7 +71,8 @@ class HumanToken extends Token {
|
|||
public HumanToken() {
|
||||
super("Human", "1/1 white Human creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Human");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -71,7 +71,7 @@ public class AdventOfTheWurm extends CardImpl {
|
|||
private WurmToken() {
|
||||
super("Wurm", "5/5 green Wurm creature token with trample");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Wurm");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
|
|
@ -90,7 +90,7 @@ public class TurnBurn extends SplitCard {
|
|||
private WeirdToken() {
|
||||
super("Weird", "a red Weird with base power and toughness 0/1");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Weird");
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -79,7 +79,8 @@ class KithkinSoldierToken extends Token {
|
|||
public KithkinSoldierToken() {
|
||||
super("Kithkin Soldier", "1/1 white Kithkin Soldier creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Soldier");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -109,7 +109,7 @@ class GoatToken extends Token {
|
|||
public GoatToken() {
|
||||
super("Goat", "a 0/1 white Goat creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
subtype.add("Goat");
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -105,7 +105,7 @@ class RapidHybridizationToken extends Token {
|
|||
this.setOriginalExpansionSetCode("GTC");
|
||||
cardType.add(CardType.CREATURE);
|
||||
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
|
||||
subtype.add("Frog");
|
||||
subtype.add("Lizard");
|
||||
|
|
|
@ -96,7 +96,7 @@ class BatToken extends Token {
|
|||
BatToken() {
|
||||
super("Bat", "1/1 black Bat creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Bat");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -90,7 +90,7 @@ class WurmweaverCoilToken extends Token {
|
|||
WurmweaverCoilToken() {
|
||||
super("Wurm", "6/6 green Wurm creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Wurm");
|
||||
power = new MageInt(6);
|
||||
toughness = new MageInt(6);
|
||||
|
|
|
@ -114,7 +114,7 @@ class HourOfNeedSphinxToken extends Token {
|
|||
super("Sphinx", "4/4 blue Sphinx creature token with flying");
|
||||
this.setOriginalExpansionSetCode("JOU");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLUE;
|
||||
color.setBlue(true);
|
||||
subtype.add("Sphinx");
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
|
|
|
@ -107,7 +107,7 @@ class HydraBroodmasterToken extends Token {
|
|||
super("Hydra", "green Hydra creature token");
|
||||
this.setOriginalExpansionSetCode("JOU");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Hydra");
|
||||
this.power = new MageInt(power);
|
||||
this.toughness = new MageInt(toughness);
|
||||
|
|
|
@ -109,7 +109,7 @@ class RitualOfTheReturnedZombieToken extends Token {
|
|||
super("Zombie", "black Zombie creature token onto the battlefield with power equal to the exiled card's power and toughness equal to the exiled card's toughness");
|
||||
this.setOriginalExpansionSetCode("JOU");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Zombie");
|
||||
this.power = new MageInt(power);
|
||||
this.toughness = new MageInt(toughness);
|
||||
|
|
|
@ -87,7 +87,8 @@ class BirdToken extends Token {
|
|||
super("Bird", "1/1 white Bird creature tokens with flying");
|
||||
this.setOriginalExpansionSetCode("BNG");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Bird");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -74,7 +74,7 @@ class KormusBellToken extends Token {
|
|||
cardType.add(CardType.CREATURE);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
color = ObjectColor.BLACK; //Check Oracle, yes they are black
|
||||
color.setBlack(true); //Check Oracle, yes they are black
|
||||
}
|
||||
|
||||
}
|
|
@ -96,7 +96,7 @@ class CatToken extends Token {
|
|||
public CatToken() {
|
||||
super("Cat", "2/2 white Cat creature tokens");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
subtype.add("Cat");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -113,7 +113,8 @@ class GoatToken extends Token {
|
|||
public GoatToken() {
|
||||
super("Goat", "a 0/1 white Goat creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Goat");
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -127,7 +127,8 @@ class CatToken extends Token {
|
|||
public CatToken() {
|
||||
super("Cat", "2/2 white Cat creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Cat");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -110,7 +110,7 @@ class ElementalToken extends Token {
|
|||
this.setOriginalExpansionSetCode("M14");
|
||||
this.setTokenType(new Random().nextInt(2) + 1);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Elemental");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -92,7 +92,7 @@ class KalonianTwingroveTreefolkWarriorToken extends Token {
|
|||
super("Treefolk Warrior", "green Treefolk Warrior creature token onto the battlefield with \"This creature's power and toughness are each equal to the number of Forests you control.\"");
|
||||
this.setOriginalExpansionSetCode("M15");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Treefolk");
|
||||
subtype.add("Warrior");
|
||||
power = new MageInt(0);
|
||||
|
|
|
@ -113,7 +113,7 @@ class CatToken extends Token {
|
|||
public CatToken() {
|
||||
super("Cat", "1/1 green Cat creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Cat");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -68,7 +68,8 @@ class CatToken extends Token {
|
|||
super("Cat", "2/2 white Cat creature token");
|
||||
setOriginalExpansionSetCode("SOM");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Cat");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -73,7 +73,7 @@ class BeastToken_44 extends Token {
|
|||
public BeastToken_44() {
|
||||
super("Beast", "4/4 green Beast creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Beast");
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
|
|
|
@ -188,7 +188,7 @@ class TestamentOfFaithToken extends Token {
|
|||
super("Wall", "an X/X Wall creature with defender");
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add("Wall");
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
this.addAbility(DefenderAbility.getInstance());
|
||||
}
|
||||
}
|
|
@ -104,7 +104,7 @@ class MinionToken extends Token {
|
|||
|
||||
public MinionToken() {
|
||||
super("Minion", "1/1 black Minion creature token");
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add("Minion");
|
||||
power = new MageInt(1);
|
||||
|
|
|
@ -81,7 +81,8 @@ class KnightToken extends Token {
|
|||
KnightToken() {
|
||||
super("Knight", "2/2 white Knight creature tokens with first strike");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Knight");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -89,7 +89,7 @@ class CentaurToken extends Token {
|
|||
CentaurToken() {
|
||||
super("Centaur", "3/3 green Centaur creature tokens with protection from black");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Centaur");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
|
|
@ -78,7 +78,7 @@ class HorrorToken extends Token {
|
|||
HorrorToken() {
|
||||
super("Horror", "a 4/4 black Horror creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Horror");
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
|
|
|
@ -86,7 +86,7 @@ class FaerieToken extends Token {
|
|||
FaerieToken() {
|
||||
super("Faerie", "1/1 blue Faerie creature tokens with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLUE;
|
||||
color.setBlue(true);
|
||||
subtype.add("Faerie");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -77,7 +77,7 @@ public class ArmadaWurm extends CardImpl {
|
|||
private ArmadaWurmToken() {
|
||||
super("Wurm", "a 5/5 green Wurm creature token with trample");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Wurm");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
|
|
@ -78,7 +78,7 @@ public class CentaursHerald extends CardImpl {
|
|||
public CentaursHeraldToken() {
|
||||
super("Centaur", "3/3 green Centaur creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Centaur");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
|
|
@ -80,7 +80,7 @@ public class UtvaraHellkite extends CardImpl {
|
|||
private UtvaraHellkiteDragonToken() {
|
||||
super("Dragon", "6/6 red Dragon creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Dragon");
|
||||
power = new MageInt(6);
|
||||
toughness = new MageInt(6);
|
||||
|
|
|
@ -104,7 +104,7 @@ class ElementalToken extends Token {
|
|||
public ElementalToken() {
|
||||
super("Elemental", "X/X red Elemental creature");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Elemental");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -126,7 +126,7 @@ class UramiToken extends Token {
|
|||
supertype.add("Legendary");
|
||||
|
||||
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
||||
|
|
|
@ -76,7 +76,8 @@ class CatToken extends Token {
|
|||
public CatToken() {
|
||||
super("Cat", "a 2/2 white Cat creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Cat");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -170,7 +170,7 @@ class DragonToken extends Token {
|
|||
public DragonToken() {
|
||||
super("Dragon", "5/5 red Dragon creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Dragon");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
|
|
@ -122,7 +122,7 @@ class GoblinAssaultToken extends Token {
|
|||
cardType.add(CardType.CREATURE);
|
||||
subtype.add("Goblin");
|
||||
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
|
|
|
@ -92,7 +92,7 @@ class HomunculusToken extends Token {
|
|||
super("Homunculus", "0/1 blue Homunculus artifact creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
cardType.add(CardType.ARTIFACT);
|
||||
color = ObjectColor.BLUE;
|
||||
color.setBlue(true);
|
||||
subtype.add("Homunculus");
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -103,7 +103,7 @@ class HoundToken extends Token {
|
|||
cardType.add(CardType.CREATURE);
|
||||
subtype.add("Hound");
|
||||
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ class DragonToken2 extends Token {
|
|||
DragonToken2() {
|
||||
super("Dragon", "5/5 red Dragon creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Dragon");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
|
|
@ -73,7 +73,7 @@ class FaerieConclaveToken extends Token {
|
|||
super("Faerie", "a 2/1 blue Faerie creature with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add("Faerie");
|
||||
color = ObjectColor.BLUE;
|
||||
color.setBlue(true);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(1);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
|
|
@ -72,7 +72,8 @@ class ForbiddingWatchtowerToken extends Token {
|
|||
super("Soldier", "a 1/5 white Soldier creature");
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add("Soldier");
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(5);
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ class SkeletonToken extends Token {
|
|||
super("Skeleton", "a 1/1 black Skeleton creature with \"{B}: Regenerate this creature\"");
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add("Skeleton");
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ColoredManaCost(ColoredManaSymbol.B)));
|
||||
|
|
|
@ -73,7 +73,7 @@ class ApeToken extends Token {
|
|||
super("Ape", "a 3/3 green Ape creature with trample");
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add("Ape");
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
|
|
@ -85,7 +85,7 @@ class AbhorrentOverlordHarpyToken extends Token {
|
|||
public AbhorrentOverlordHarpyToken() {
|
||||
super("Harpy", "1/1 black Harpy creature tokens with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Harpy");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -75,7 +75,7 @@ class SoldierToken extends Token {
|
|||
super("Soldier", "1/1 red Soldier creature token with haste");
|
||||
setTokenType(3);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Soldier");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -186,7 +186,8 @@ class AkroanHorseSoldierToken extends Token {
|
|||
public AkroanHorseSoldierToken() {
|
||||
super("Soldier", "1/1 white Soldier creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Soldier");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -74,7 +74,8 @@ class EvangelOfHeliodSoldierToken extends Token {
|
|||
public EvangelOfHeliodSoldierToken() {
|
||||
super("Soldier", "1/1 white Soldier creature tokens");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Soldier");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -92,7 +92,8 @@ class GriffinToken extends Token {
|
|||
public GriffinToken() {
|
||||
super("Griffin", "2/2 white Griffin creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Soldier");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -67,7 +67,7 @@ class GoblinToken extends Token {
|
|||
public GoblinToken() {
|
||||
super("Goblin", "1/1 red Goblin creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Goblin");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -87,7 +87,7 @@ class DragonToken extends Token {
|
|||
public DragonToken() {
|
||||
super("Dragon", "5/5 red Dragon creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Dragon");
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
|
|
|
@ -147,7 +147,7 @@ class BeastGreenToken extends Token {
|
|||
public BeastGreenToken() {
|
||||
super("Beast", "4/4 green Beast creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Beast");
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
|
|
|
@ -121,7 +121,7 @@ class VampireToken extends Token {
|
|||
public VampireToken(int tokenPower, int tokenToughness) {
|
||||
super("Vampire", new StringBuilder(tokenPower).append("/").append(tokenToughness).append(" black Vampire creature token").toString());
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Vampire");
|
||||
power = new MageInt(tokenPower);
|
||||
toughness = new MageInt(tokenToughness);
|
||||
|
|
|
@ -83,7 +83,7 @@ class ZombieToken extends Token {
|
|||
subtype.add("Zombie");
|
||||
subtype.add("Giant");
|
||||
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ class IllusionToken extends Token {
|
|||
public IllusionToken() {
|
||||
super("Illusion", "2/2 blue Illusion creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLUE;
|
||||
color.setBlue(true);
|
||||
|
||||
subtype.add("Illusion");
|
||||
power = new MageInt(2);
|
||||
|
|
|
@ -119,7 +119,7 @@ class ElementalToken extends Token {
|
|||
public ElementalToken() {
|
||||
super("Elemental", "7/1 red Elemental creature token with trample and haste");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Elemental");
|
||||
power = new MageInt(7);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -67,7 +67,7 @@ class GermToken extends Token {
|
|||
super("Germ", "a 0/0 black Germ creature token");
|
||||
this.setOriginalExpansionSetCode("MBS");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Germ");
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(0);
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.constants.CardType;
|
||||
|
||||
|
@ -15,7 +14,8 @@ public class AngelToken extends Token {
|
|||
super("Angel", "4/4 white Angel creature token with flying");
|
||||
this.setOriginalExpansionSetCode(tokenImageSetCode);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Angel");
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
|
|
|
@ -41,7 +41,7 @@ public class BearToken extends Token {
|
|||
public BearToken() {
|
||||
super("Beast", "2/2 green Bear creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Bear");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -52,7 +52,7 @@ public class BeastToken extends Token {
|
|||
setTokenType(tokenType);
|
||||
}
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Beast");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
|
|
@ -41,7 +41,7 @@ public class CentaurToken extends Token {
|
|||
public CentaurToken() {
|
||||
super("Centaur", "3/3 green Centaur creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Centaur");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.constants.CardType;
|
||||
|
||||
/**
|
||||
|
@ -41,7 +40,8 @@ public class CitizenToken extends Token {
|
|||
public CitizenToken() {
|
||||
super("Citizen", "1/1 white Citizen creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Citizen");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -42,7 +42,7 @@ public class DragonToken extends Token {
|
|||
public DragonToken() {
|
||||
super("Dragon", "4/4 red Dragon creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Dragon");
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
|
|
|
@ -41,7 +41,7 @@ public class ElementalToken extends Token {
|
|||
public ElementalToken() {
|
||||
super("Elemental", "3/1 red Elemental creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
subtype.add("Elemental");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -41,7 +41,7 @@ public class ElephantToken extends Token {
|
|||
public ElephantToken() {
|
||||
super("Elephant", "3/3 green Elephant creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Elephant");
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
|
|
@ -41,7 +41,7 @@ public class FrogToken extends Token {
|
|||
public FrogToken() {
|
||||
super("Frog", "1/1 blue Frog creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLUE;
|
||||
color.setBlue(true);
|
||||
subtype.add("Frog");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -46,7 +46,7 @@ public class GoblinToken extends Token {
|
|||
cardType.add(CardType.CREATURE);
|
||||
subtype.add("Goblin");
|
||||
|
||||
color = ObjectColor.RED;
|
||||
color.setRed(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ public class InsectInfectToken extends Token {
|
|||
public InsectInfectToken() {
|
||||
super("Insect", "1/1 green Insect creature token with infect");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Insect");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -2,7 +2,6 @@ package mage.game.permanent.token;
|
|||
|
||||
import mage.constants.CardType;
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
|
||||
/**
|
||||
|
@ -14,7 +13,8 @@ public class KnightToken extends Token {
|
|||
public KnightToken() {
|
||||
super("Knight", "2/2 white Knight creature token with vigilance");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
color.setWhite(true);
|
||||
|
||||
subtype.add("Knight");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -46,7 +46,7 @@ public class RatToken extends Token {
|
|||
super("Rat", "1/1 black Rat creature token");
|
||||
this.setOriginalExpansionSetCode(setCode);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Rat");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -42,7 +42,7 @@ public class SaprolingToken extends Token {
|
|||
super("Saproling", "1/1 green Saproling creature token");
|
||||
this.setOriginalExpansionSetCode("MMA");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Saproling");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -41,7 +41,7 @@ public class SnakeToken extends Token {
|
|||
public SnakeToken() {
|
||||
super("Snake", "1/1 green Snake creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Snake");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -42,7 +42,7 @@ public class SquirrelToken extends Token {
|
|||
cardType.add(CardType.CREATURE);
|
||||
subtype.add("Squirrel");
|
||||
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ public class WolfToken extends Token {
|
|||
setTokenType(Type.SECOND.code);
|
||||
}
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Wolf");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
|
@ -42,7 +42,7 @@ public class WolfTokenWithDeathtouch extends Token {
|
|||
public WolfTokenWithDeathtouch() {
|
||||
super("Wolf", "1/1 black Wolf creature token with deathtouch");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Wolf");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
|
|
@ -39,7 +39,7 @@ public class WurmToken extends Token {
|
|||
public WurmToken() {
|
||||
super("Wurm", "a 6/6 green Wurm creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.GREEN;
|
||||
color.setGreen(true);
|
||||
subtype.add("Wurm");
|
||||
power = new MageInt(6);
|
||||
toughness = new MageInt(6);
|
||||
|
|
|
@ -50,7 +50,7 @@ public class ZombieToken extends Token {
|
|||
this.setTokenType(new Random().nextInt(3) + 1);
|
||||
}
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
color.setBlack(true);
|
||||
subtype.add("Zombie");
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
|
|
Loading…
Reference in a new issue