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

This subforum contains all the issues which we already resolved.
Post Reply
grilledham
Inserter
Inserter
Posts: 23
Joined: Tue Sep 25, 2018 9:32 pm
Contact:

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

Post 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 1811 times
The bug is just visual, the worm doesn't actually do more damage

Bilka
Factorio Staff
Factorio Staff
Posts: 3127
Joined: Sat Aug 13, 2016 9:20 am
Contact:

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

Post by Bilka »

Thanks for the report, fixed for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Resolved Problems and Bugs”