mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
FACTO-168: Reduced resource pheromone when covered by enemy structures
This commit is contained in:
parent
394de4a081
commit
b2b6b5db0b
@ -2,6 +2,7 @@
|
||||
Version: 3.1.2
|
||||
Tweaks:
|
||||
- Siege groups have their attraction to resource patches reduced by 50%
|
||||
- Reduced resource patch pheromone when enemy structures exist on chunk by 100x
|
||||
Bugfixes:
|
||||
- Fixed sent aggressive squads count could be negative
|
||||
- Added missing sent and max siege groups on debug log
|
||||
|
@ -394,13 +394,13 @@ function pheromoneUtils.processStaticPheromone(map, chunk)
|
||||
if clear then
|
||||
chunk[RESOURCE_PHEROMONE] = pheromone * chunkPathRating
|
||||
else
|
||||
chunk[RESOURCE_PHEROMONE] = pheromone * chunkPathRating * 0.01
|
||||
chunk[RESOURCE_PHEROMONE] = pheromone * chunkPathRating * 0.0001
|
||||
end
|
||||
else
|
||||
if clear then
|
||||
chunk[RESOURCE_PHEROMONE] = chunkResource * chunkPathRating
|
||||
else
|
||||
chunk[RESOURCE_PHEROMONE] = chunkResource * chunkPathRating * 0.01
|
||||
chunk[RESOURCE_PHEROMONE] = chunkResource * chunkPathRating * 0.0001
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user