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

Merge pull request #163 from ComfyFactory/dev

mtn v3 - fix immortal units
This commit is contained in:
Gerkiz 2021-11-11 18:34:02 +01:00 committed by GitHub
commit 233ac15be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)