1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-29 21:47:08 +02:00

Fix turret nerfs

This commit is contained in:
danielmartin0 2024-10-17 16:27:28 +01:00
parent aa3a90021c
commit e1cf855fcc
2 changed files with 1 additions and 3 deletions

View File

@ -1696,7 +1696,7 @@ local function event_on_research_finished(event)
force.set_gun_speed_modifier(category, current_m + factor * m) force.set_gun_speed_modifier(category, current_m + factor * m)
end end
elseif t == 'turret-attack' then elseif t == 'turret-attack' then
local category = e.ammo_category local category = e.turret_id
local factor = Balance.player_turret_attack_modifiers()[category] local factor = Balance.player_turret_attack_modifiers()[category]
if factor then if factor then

View File

@ -710,8 +710,6 @@ end
function Public.player_turret_attack_modifiers() function Public.player_turret_attack_modifiers()
local data = { local data = {
['gun-turret'] = 0, ['gun-turret'] = 0,
['artillery-turret'] = 0,
['laser-turret'] = 0,
['flamethrower-turret'] = -0.5, ['flamethrower-turret'] = -0.5,
} }
return data return data