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
|
|
@ -2,6 +2,7 @@ package mage.game.permanent.token;
|
|||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
public class OozeToken extends Token {
|
||||
|
||||
|
|
@ -9,7 +10,7 @@ public class OozeToken extends Token {
|
|||
super("Ooze", power + "/" + toughness + " green ooze creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add("Ooze");
|
||||
subtype.add(SubType.OOZE);
|
||||
this.power = new MageInt(power);
|
||||
this.toughness = new MageInt(toughness);
|
||||
}
|
||||
|
|
@ -18,7 +19,7 @@ public class OozeToken extends Token {
|
|||
super("Ooze", "X/X green ooze creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add("Ooze");
|
||||
subtype.add(SubType.OOZE);
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue