Added ManaInAnyCombinationEffect and RemoveCountersForCostCondition and some minor formatting and additions.

This commit is contained in:
LevelX2 2013-11-21 14:28:54 +01:00
parent b7c45a7090
commit b8af8106f6
13 changed files with 250 additions and 20 deletions

View file

@ -1292,6 +1292,9 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
public int getAmount(int min, int max, String message, Game game) {
log.debug("getAmount");
//TODO: improve this
if (min < max && min == 0) {
return new Random().nextInt(max+1);
}
return min;
}