mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-17 20:58:13 +02:00
wave frequency patch
This commit is contained in:
parent
b817512a43
commit
eb9dcbc60f
@ -129,7 +129,7 @@ end
|
||||
function Public.wave_size_rng() -- random variance in attack sizes
|
||||
local memory = Memory.get_crew_memory()
|
||||
|
||||
local wave_percentage_chance = Math.clamp(0, 35, 15 + 10 * memory.floating_pollution/1500) --trying this out
|
||||
local wave_percentage_chance = Math.clamp(0, 36, 15 + 7 * memory.floating_pollution/1500) --trying this out
|
||||
|
||||
local wave_size_multiplier = 1
|
||||
local rng1 = Math.random(100)
|
||||
|
@ -402,7 +402,7 @@ function(cmd)
|
||||
local player = game.players[cmd.player_index]
|
||||
local memory = Memory.get_crew_memory()
|
||||
Roles.captain_tax(memory.playerindex_captain)
|
||||
end
|
||||
end --@TODO: else
|
||||
end)
|
||||
|
||||
commands.add_command(
|
||||
|
Loading…
x
Reference in New Issue
Block a user