forked from External/mage
Refactored subtypes to enum
This commit is contained in:
parent
e21f6aacde
commit
245bf2f2df
9131 changed files with 52127 additions and 44576 deletions
|
|
@ -31,6 +31,7 @@ import java.util.ArrayList;
|
|||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.keyword.ProtectionAbility;
|
||||
|
|
@ -51,7 +52,7 @@ public class HuntedCentaurToken extends Token {
|
|||
super("Centaur", "3/3 green Centaur creature tokens with protection from black");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add("Centaur");
|
||||
subtype.add(SubType.CENTAUR);
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
this.addAbility(ProtectionAbility.from(ObjectColor.BLACK));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue