1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-24 03:47:58 +02:00

difficulty fix

This commit is contained in:
MewMew 2020-04-30 02:47:21 +02:00
parent fd5184b43c
commit 89f8461403

View File

@ -60,9 +60,9 @@ local function set_difficulty()
-- threat gain / wave
wave_defense_table.threat_gain_multiplier = 2 + player_count * 0.1
local amount = player_count * 0.25 + 21
local amount = player_count * 0.25 + 2
amount = math.floor(amount)
if amount > 10 then amount = 10 end
if amount > 8 then amount = 8 end
Collapse.set_amount(amount)
--20 Players for fastest wave_interval
@ -148,7 +148,7 @@ function Public.reset_map()
game.reset_time_played()
Collapse.set_kill_entities(false)
Collapse.set_speed(2)
Collapse.set_speed(8)
Collapse.set_amount(1)
Collapse.set_max_line_size(level_depth)
Collapse.set_surface(surface)