mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Fixed AI announcing value for non mana variable costs.
This commit is contained in:
parent
401d65a17e
commit
3dde0bab89
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue