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:
parent
1246f3b2a2
commit
394de4a081
@ -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
|
||||
|
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user