mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-09 13:37:02 +02:00
wave defense - option to toggle more damage from biters
This commit is contained in:
parent
02a80e8708
commit
7712532ac7
@ -484,12 +484,18 @@ local function spawn_biter(surface, is_boss_biter)
|
||||
end
|
||||
|
||||
local function increase_biter_damage()
|
||||
local increase_damage_per_wave = WD.get('increase_damage_per_wave')
|
||||
if not increase_damage_per_wave then
|
||||
return
|
||||
end
|
||||
|
||||
local Difficulty
|
||||
if is_loaded('modules.difficulty_vote_by_amount') then
|
||||
Difficulty = is_loaded('modules.difficulty_vote_by_amount')
|
||||
elseif is_loaded('modules.difficulty_vote') then
|
||||
Difficulty = is_loaded('modules.difficulty_vote')
|
||||
end
|
||||
|
||||
if not Difficulty then
|
||||
return
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user