mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
fac18d953e
The score for buying army now scales with the cost of that army. The cost of the units that need to be disbanded in order to hire the new units is subtracted from the army-hiring-score so the AI will prefer hiring armies where the amount of troops to disband is low or non-existent. Fixed a bug that also disbanded troops when there still were free slots available. |
||
---|---|---|
.. | ||
Analyzers | ||
Behaviors | ||
Engine | ||
Goals | ||
Helpers | ||
Markers | ||
Pathfinding | ||
AIGateway.cpp | ||
AIGateway.h | ||
AIUtility.cpp | ||
AIUtility.h | ||
CMakeLists.txt | ||
main.cpp | ||
pforeach.h | ||
StdInc.cpp | ||
StdInc.h |