Fix AbilityManaPart.canProduce() for Command Tower. This has the effect of being able to Auto-pay using Command Tower and also lets AI correctly figure out it can tap it for any of those colors as well (affects both heuristic and simulated AI).

This commit is contained in:
Myrd
2016-01-01 23:46:16 +00:00
parent ed1ae4a71d
commit 7303d132de
2 changed files with 33 additions and 43 deletions

View File

@@ -1125,7 +1125,7 @@ public class ComputerUtilMana {
sortedManaSources.addAll(sortedManaSources.size(), otherManaSources);
if (DEBUG_MANA_PAYMENT) {
System.out.println("DEBUG_MANA_PAYMENT: manaAbilityMap = " + sortedManaSources);
System.out.println("DEBUG_MANA_PAYMENT: sortedManaSources = " + sortedManaSources);
}
return sortedManaSources;
} // getAvailableMana()