1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-16 10:19:47 +02:00
vcmi/AI
Xilmi 94e5b5519c Fixed AI constantly visiting towns thinking they can get a huge upgrade
Due to morale-considerations the AI sometimes calculated that their strongest army after doing an exchange had slightly lower total value than the army they used before.
But by using unsigned "slightly lower" became near infinite.
So they constantly wanted to upgrade their army because they considered it more useful than anything else.
Changing the unsigned into signed fixes this.
2024-07-08 16:53:14 +02:00
..
BattleAI Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02: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 AI constantly visiting towns thinking they can get a huge upgrade 2024-07-08 16:53:14 +02:00
StupidAI Remove old and unmaintained codeblocks project 2024-05-17 10:44:57 +00:00
VCAI Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
CMakeLists.txt enable StupidAI and EmptyAI for static AI 2023-03-02 12:09:49 +03:00
GeniusAI.brain convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00