1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00
ComfyFactorio/modules/biters_double_damage.lua
2019-03-13 17:09:06 +01:00

11 lines
474 B
Lua

local event = require 'utils.event'
local function on_player_joined_game(event)
game.forces.enemy.set_ammo_damage_modifier("melee", 1)
game.forces.enemy.set_ammo_damage_modifier("biological", 0.5)
game.forces.enemy.set_ammo_damage_modifier("artillery-shell", 0.5)
game.forces.enemy.set_ammo_damage_modifier("flamethrower", 0.5)
game.forces.enemy.set_ammo_damage_modifier("laser-turret", 0.5)
end
event.add(defines.events.on_player_joined_game, on_player_joined_game)