1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/AI/Nullkiller
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
..
Analyzers Fixed and improved disband-logic 2024-12-13 00:09:10 +01:00
Behaviors Fixed and improved disband-logic 2024-12-13 00:09:10 +01:00
Engine Satisfy SonarCube 2024-12-12 14:58:29 +01:00
Goals Fixed and improved disband-logic 2024-12-13 00:09:10 +01:00
Helpers expose safeAttackRatio to AI config 2024-11-28 11:53:51 +00:00
Markers NKAI: port exploration from VCAI 2024-05-20 23:50:13 +03:00
Pathfinding AI can now disband units that block slots for buying better units 2024-12-12 20:06:33 +01:00
AIGateway.cpp Add option to recalculate hitmap on tile reveal 2024-12-01 21:50:28 +00:00
AIGateway.h IMarket suggestions 2024-08-20 18:49:48 +03:00
AIUtility.cpp expose safeAttackRatio to AI config 2024-11-28 11:53:51 +00:00
AIUtility.h 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
main.cpp Reduced usage of global variables - removed or made const / constexpr 2024-02-12 13:49:45 +02:00
pforeach.h NKAI: fix headless and compilation 2024-03-24 13:16:46 +02:00
StdInc.cpp Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
StdInc.h Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00