Page 1 of 1

[0.17.50] Enemy worms gui show damage based on the player force biological ammo damage modifier

Posted: Sat Jun 22, 2019 11:53 am
by grilledham
Steps to reproduce:
1. spawn worm:

Code: Select all

/c local p = game.player local pos  = p.position pos.y  =-10 p.surface.create_entity{name='small-worm-turret', position = pos, force = 'enemy'}
2. Change player force biological ammo modifier:

Code: Select all

/c game.forces.player.set_ammo_damage_modifier('biological', 0.5)
3. Observe that the worm gui shows it doing more damage
worm.png
worm.png (26.44 KiB) Viewed 1839 times
The bug is just visual, the worm doesn't actually do more damage

Re: [0.17.50] Enemy worms gui show damage based on the player force biological ammo damage modifier

Posted: Sun Jun 23, 2019 6:14 pm
by Bilka
Thanks for the report, fixed for the next version.