2021-03-24 20:14:55 +01:00
|
|
|
local Event = require 'utils.event'
|
2019-02-16 17:36:12 +01:00
|
|
|
|
2021-03-24 20:14:55 +01:00
|
|
|
local function on_player_joined_game()
|
2021-03-24 16:46:00 +01:00
|
|
|
game.forces.enemy.set_ammo_damage_modifier('melee', 1)
|
|
|
|
game.forces.enemy.set_ammo_damage_modifier('biological', 1)
|
|
|
|
game.forces.enemy.set_ammo_damage_modifier('artillery-shell', 0.5)
|
|
|
|
game.forces.enemy.set_ammo_damage_modifier('flamethrower', 0.5)
|
2021-10-06 21:56:54 +02:00
|
|
|
game.forces.enemy.set_ammo_damage_modifier('laser', 0.5)
|
2019-02-16 17:36:12 +01:00
|
|
|
end
|
2021-03-24 16:46:00 +01:00
|
|
|
|
2021-03-24 20:14:55 +01:00
|
|
|
Event.add(defines.events.on_player_joined_game, on_player_joined_game)
|