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

@ -5,6 +5,7 @@ import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ColoredManaCost;
import mage.abilities.effects.common.RegenerateSourceEffect;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.ColoredManaSymbol;
import mage.constants.Zone;
@ -12,7 +13,7 @@ public class SkeletonToken extends Token {
public SkeletonToken() {
super("Skeleton", "1/1 black Skeleton creature with \"{B}: Regenerate this creature\"");
cardType.add(CardType.CREATURE);
this.subtype.add("Skeleton");
this.subtype.add(SubType.SKELETON);
color.setBlack(true);
power = new MageInt(1);
toughness = new MageInt(1);