1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-30 23:17:53 +02:00

mtn v3 - fix immortal units

This commit is contained in:
Gerkiz 2021-11-11 18:32:34 +01:00
parent e40c406116
commit 6d7d920bf2

View File

@ -346,7 +346,7 @@ local function do_place_entities(data)
entity = surface.create_entity(e)
if entity then
if e.note and e.note == 'wall' then
local wall_defenders_health_modifier = WD.get('modified_boss_unit_health')
local wall_defenders_health_modifier = WD.get('biter_health_boost')
BiterHealthBooster.add_unit(entity, wall_defenders_health_modifier)
end
wintery(entity)
@ -379,7 +379,7 @@ local function do_place_entities(data)
entity = surface.create_entity(e)
if entity then
if e.note and e.note == 'wall' then
local wall_defenders_health_modifier = WD.get('modified_boss_unit_health')
local wall_defenders_health_modifier = WD.get('biter_health_boost')
BiterHealthBooster.add_unit(entity, wall_defenders_health_modifier)
end
wintery(entity)