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

@ -28,6 +28,7 @@
package mage.game.permanent.token;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
import mage.MageObjectReference;
import mage.abilities.Ability;
@ -57,7 +58,7 @@ public class DaxosSpiritToken extends Token {
cardType.add(CardType.CREATURE);
color.setWhite(true);
color.setBlack(true);
subtype.add("Spirit");
subtype.add(SubType.SPIRIT);
power = new MageInt(0);
toughness = new MageInt(0);
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new DaxosSpiritSetPTEffect()));