* Fixed AI announcing value for non mana variable costs.

This commit is contained in:
LevelX2 2014-03-10 08:17:38 +01:00
parent 401d65a17e
commit 3dde0bab89

View file

@ -1042,7 +1042,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
//TODO: improve this //TODO: improve this
int value = new Random().nextInt(max+1); int value = new Random().nextInt(max+1);
if (value < max) { if (value < max) {
max++; value++;
} }
return value; return value;
} }