1
0
mirror of https://github.com/veden/Rampant.git synced 2025-02-05 13:14:51 +02:00

FACTO-167: Reduced siege group pathing for resource patches by 50%

This commit is contained in:
Aaron Veden 2022-06-12 18:54:13 -07:00
parent 1246f3b2a2
commit 394de4a081
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
---------------------------------------------------------------------------------------------------
Version: 3.1.2
Tweaks:
- Siege groups have their attraction to resource patches reduced by 50%
Bugfixes:
- Fixed sent aggressive squads count could be negative
- Added missing sent and max siege groups on debug log

View File

@ -96,7 +96,7 @@ end
local function scoreSiegeLocationKamikaze(_, neighborChunk)
local settle = neighborChunk[BASE_PHEROMONE]
+ neighborChunk[RESOURCE_PHEROMONE]
+ neighborChunk[RESOURCE_PHEROMONE] * 0.5
+ (neighborChunk[PLAYER_PHEROMONE] * PLAYER_PHEROMONE_MULTIPLER)
- neighborChunk[ENEMY_PHEROMONE]
@ -112,7 +112,7 @@ end
local function scoreSiegeLocation(map, neighborChunk)
local settle = neighborChunk[BASE_PHEROMONE]
+ neighborChunk[RESOURCE_PHEROMONE]
+ neighborChunk[RESOURCE_PHEROMONE] * 0.5
+ (neighborChunk[PLAYER_PHEROMONE] * PLAYER_PHEROMONE_MULTIPLER)
- neighborChunk[ENEMY_PHEROMONE]