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. |
||
---|---|---|
.. | ||
BuildingBehavior.cpp | ||
BuildingBehavior.h | ||
BuyArmyBehavior.cpp | ||
BuyArmyBehavior.h | ||
CaptureObjectsBehavior.cpp | ||
CaptureObjectsBehavior.h | ||
ClusterBehavior.cpp | ||
ClusterBehavior.h | ||
DefenceBehavior.cpp | ||
DefenceBehavior.h | ||
ExplorationBehavior.cpp | ||
ExplorationBehavior.h | ||
GatherArmyBehavior.cpp | ||
GatherArmyBehavior.h | ||
RecruitHeroBehavior.cpp | ||
RecruitHeroBehavior.h | ||
StartupBehavior.cpp | ||
StartupBehavior.h | ||
StayAtTownBehavior.cpp | ||
StayAtTownBehavior.h |