mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
bc8e590: Added enemy structure death scent multipler
This commit is contained in:
parent
ac556c2c9d
commit
32080f09bf
@ -21,6 +21,7 @@ Version: 3.2.0
|
||||
- Increased the number of chunks processed from 735 to 3000
|
||||
- Kamikaze squads no longer use a separate movement function
|
||||
- Reduced the raiding base threshold from 550 to 50 to account for the new pheromone distribution
|
||||
- Added death pheromone scent multipler for destroyed enemy structures
|
||||
Bugfixes:
|
||||
- Removed layer-13 from projectiles
|
||||
- script_raised_built now looks for enemy faction and registers as needed
|
||||
|
@ -119,8 +119,11 @@ function pheromoneUtils.disperseVictoryScent(universe)
|
||||
end
|
||||
end
|
||||
|
||||
function pheromoneUtils.deathScent(map, chunk)
|
||||
function pheromoneUtils.deathScent(map, chunk, structure)
|
||||
local amount = -DEATH_PHEROMONE_GENERATOR_AMOUNT
|
||||
if structure then
|
||||
amount = amount * 7.5
|
||||
end
|
||||
addDeathGenerator(map, chunk, amount)
|
||||
addPermanentDeathGenerator(map, chunk, amount)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user