mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
replaced all instances of converted mana cost with mana value
This commit is contained in:
parent
cb0df438dd
commit
a61d5543fa
610 changed files with 1781 additions and 1796 deletions
|
|
@ -1719,7 +1719,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
//TODO: improve this
|
||||
int xMin = min * multiplier;
|
||||
int xMax = (max == Integer.MAX_VALUE ? max : max * multiplier);
|
||||
int numAvailable = getAvailableManaProducers(game).size() - ability.getManaCosts().convertedManaCost();
|
||||
int numAvailable = getAvailableManaProducers(game).size() - ability.getManaCosts().manaValue();
|
||||
if (numAvailable < 0) {
|
||||
numAvailable = 0;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue