mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Small fixes
This commit is contained in:
parent
578427a601
commit
7d8c9f5b13
1 changed files with 4 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue