forked from External/mage
Added ManaInAnyCombinationEffect and RemoveCountersForCostCondition and some minor formatting and additions.
This commit is contained in:
parent
b7c45a7090
commit
b8af8106f6
13 changed files with 250 additions and 20 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue