mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-03 13:12:11 +02:00
Merge pull request #168 from ComfyFactory/minor_fix
minor fix - normal units should not cast multiple projectiles
This commit is contained in:
commit
c2844be900
@ -249,7 +249,7 @@ local function extra_projectiles(cause, target)
|
||||
local biter_health_boost_units = this.biter_health_boost_units
|
||||
local cause_unit_number = cause.unit_number
|
||||
local cause_health_pool = biter_health_boost_units[cause_unit_number]
|
||||
if cause_health_pool and cause_health_pool[3] and entity_types[cause.type] then
|
||||
if cause_health_pool and cause_health_pool[3] and cause_health_pool[3].healthbar_id and entity_types[cause.type] then
|
||||
if this.acid_nova then
|
||||
if acid_lines[cause.name] then
|
||||
if not this.acid_lines_delay[cause_unit_number] then
|
||||
|
Loading…
x
Reference in New Issue
Block a user