1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-10 00:43:59 +02:00
vcmi/AI
Xilmi fac18d953e Fixed and improved disband-logic
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.
2024-12-13 00:09:10 +01:00
..
BattleAI Removed weird logic that prevented AI from casting spells. 2024-12-08 21:43:17 +01:00
EmptyAI Merge pull request #3997 from IvanSavenko/serialization_refactor 2024-05-30 19:13:21 +03:00
FuzzyLite@7aee562d6c vcmi: new commits in submodules 2023-04-27 20:59:55 +03:00
Nullkiller Fixed and improved disband-logic 2024-12-13 00:09:10 +01:00
StupidAI defending, when not possible to attack invincible 2024-09-19 20:54:50 +02:00
VCAI Removed no longer used or redundant constants 2024-11-28 12:11:13 +00:00
CMakeLists.txt TBB is now a dependency of lib. Implemented multithreaded xBRZ scale 2024-08-17 15:25:26 +00:00
GeniusAI.brain convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00