Refactored subtypes to enum

This commit is contained in:
Evan Kranzler 2017-09-07 21:18:19 -04:00
parent e21f6aacde
commit 245bf2f2df
9131 changed files with 52127 additions and 44576 deletions

View file

@ -30,6 +30,7 @@ package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.keyword.HasteAbility;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
@ -40,7 +41,7 @@ public class ElementalMasteryElementalToken extends Token {
public ElementalMasteryElementalToken() {
super("Elemental", "1/1 red Elemental creature token with haste");
cardType.add(CardType.CREATURE);
subtype.add("Elemental");
subtype.add(SubType.ELEMENTAL);
color.setRed(true);
power = new MageInt(1);
toughness = new MageInt(1);