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

@ -32,6 +32,7 @@ import java.util.Arrays;
import mage.MageInt;
import mage.abilities.keyword.FlyingAbility;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
@ -43,7 +44,7 @@ public class DemonToken extends Token {
super("Demon", "5/5 black Demon creature token with flying");
cardType.add(CardType.CREATURE);
color.setBlack(true);
subtype.add("Demon");
subtype.add(SubType.DEMON);
power = new MageInt(5);
toughness = new MageInt(5);
addAbility(FlyingAbility.getInstance());