1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Do not compute threats that are too far away to be useful

This commit is contained in:
Ivan Savenko
2025-01-08 14:38:16 +00:00
parent 9f56c00336
commit 82e8db3037
4 changed files with 9 additions and 1 deletions

View File

@ -28,6 +28,7 @@ namespace NKAI
: maxRoamingHeroes(8),
mainHeroTurnDistanceLimit(10),
scoutHeroTurnDistanceLimit(5),
threatTurnDistanceLimit(5),
maxGoldPressure(0.3f),
retreatThresholdRelative(0.3),
retreatThresholdAbsolute(10000),