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:
parent
aa3a90021c
commit
e1cf855fcc
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user