Small fixes

This commit is contained in:
Oleg Agafonov 2018-05-05 17:32:01 +04:00
parent 578427a601
commit 7d8c9f5b13

View file

@ -31,9 +31,12 @@ public class CreatureToken extends TokenImpl {
public CreatureToken(int power, int toughness, String description, SubTypeList extraSubTypes) {
super("", description);
this.cardType.add(CardType.CREATURE);
this.subtype.addAll(extraSubTypes);
this.power = new MageInt(power);
this.toughness = new MageInt(toughness);
if (extraSubTypes != null) {
this.subtype.addAll(extraSubTypes);
}
}
public CreatureToken(final CreatureToken token) {