* Added missing Centaur token reference, get cantaur token by random.

This commit is contained in:
LevelX2 2015-03-12 16:55:12 +01:00
parent e29eea791c
commit 8afc1e24bb
2 changed files with 3 additions and 1 deletions

View file

@ -28,9 +28,9 @@
package mage.game.permanent.token;
import java.util.Random;
import mage.constants.CardType;
import mage.MageInt;
import mage.ObjectColor;
/**
*
@ -41,6 +41,7 @@ public class CentaurToken extends Token {
public CentaurToken() {
super("Centaur", "3/3 green Centaur creature token");
cardType.add(CardType.CREATURE);
setTokenType(new Random().nextInt(2) +1); // randomly take image 1 or 2
color.setGreen(true);
subtype.add("Centaur");
power = new MageInt(3);