2019-02-16 18:36:12 +02:00
|
|
|
local event = require 'utils.event'
|
|
|
|
|
|
|
|
local function on_player_joined_game(event)
|
|
|
|
game.forces.enemy.set_ammo_damage_modifier("melee", 1)
|
2019-04-12 02:55:59 +02:00
|
|
|
game.forces.enemy.set_ammo_damage_modifier("biological", 1)
|
2019-02-23 16:11:49 +02:00
|
|
|
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)
|
2019-02-16 18:36:12 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
event.add(defines.events.on_player_joined_game, on_player_joined_game)
|