From 8afc1e24bb359536b1365edd50ff107f9d79b2ea Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 12 Mar 2015 16:55:12 +0100 Subject: [PATCH] * Added missing Centaur token reference, get cantaur token by random. --- Mage.Client/src/main/resources/card-pictures-tok.txt | 1 + Mage/src/mage/game/permanent/token/CentaurToken.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Mage.Client/src/main/resources/card-pictures-tok.txt b/Mage.Client/src/main/resources/card-pictures-tok.txt index 922b47bb0e..165312adb7 100644 --- a/Mage.Client/src/main/resources/card-pictures-tok.txt +++ b/Mage.Client/src/main/resources/card-pictures-tok.txt @@ -175,6 +175,7 @@ $|Generate|TOK:MLP|Thopter| |Generate|TOK:RTR|Assassin| |Generate|TOK:RTR|Dragon| |Generate|TOK:RTR|Goblin| +|Generate|TOK:RTR|Centaur 1| |Generate|TOK:RTR|Ooze| |Generate|TOK:RTR|Rhino| |Generate|TOK:RTR|Saproling| diff --git a/Mage/src/mage/game/permanent/token/CentaurToken.java b/Mage/src/mage/game/permanent/token/CentaurToken.java index bbf048b29e..1fb7c07a5c 100644 --- a/Mage/src/mage/game/permanent/token/CentaurToken.java +++ b/Mage/src/mage/game/permanent/token/CentaurToken.java @@ -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);