mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
FACTO-171: Fixed base generator not decaying based on radius
This commit is contained in:
parent
602f75ffa1
commit
67c7b24763
@ -7,6 +7,7 @@ Version: 3.1.2
|
||||
- Fixed sent aggressive squads count could be negative
|
||||
- Added missing sent and max siege groups on debug log
|
||||
- Fixed small amounts of death generator not being rounded to nil
|
||||
- Fixed enemy base pheromone missing decay based on radius
|
||||
Framework:
|
||||
- Updated visualizer tool for debugging
|
||||
|
||||
|
@ -378,6 +378,7 @@ function pheromoneUtils.processStaticPheromone(map, chunk)
|
||||
chunk[BASE_PHEROMONE] = chunkBase * chunkPathRating
|
||||
end
|
||||
|
||||
chunkEnemy = chunkEnemy * 0.9
|
||||
pheromone = (getNestCount(map, chunk) + getHiveCount(map, chunk)) * ENEMY_PHEROMONE_MULTIPLER
|
||||
if chunkEnemy < pheromone then
|
||||
chunk[ENEMY_PHEROMONE] = pheromone * chunkPathRating
|
||||
|
Loading…
x
Reference in New Issue
Block a user