[2.0.77] Turret tooltip broken with TurretAttackModifier tech and damage_modifier ~= 1

This subforum contains all the issues which we already resolved.
User avatar
wodzu93
Inserter
Inserter
Posts: 37
Joined: Thu Apr 20, 2017 3:57 pm
Contact:

[2.0.77] Turret tooltip broken with TurretAttackModifier tech and damage_modifier ~= 1

Post by wodzu93 »

When you research a technology that adds a TurretAttackModifier bonus to a turret with innate damage modifier (ie. attack_parameters.damage_modifier ~= 1), tooltip for damage bonus gets... weird.
Screenshot.png
Screenshot.png (46.9 KiB) Viewed 636 times
On the left, tooltip correctly reports built-in damage modifier on the turret (+100%). After researching first technology that adds a turret damage modifier (+10% in this case), it changes to the one on the right, which is incorrect - original information is lost, and new information ( which is supposesd to represent researched bonus? ) has a weird "x2.0" modifier for some reason.

I'm asking to change the tooltip for "Damage Bonus" to only display innate damage modifier - damage tooltip under "Effects' section already covers effects of researched bonuses.
IT student that likes modding in his free time.

Shameless self-promotion:
http://steamcommunity.com/sharedfiles/f ... =555765765
http://steamcommunity.com/sharedfiles/f ... =575758597
Rseding91
Factorio Staff
Factorio Staff
Posts: 17743
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.77] Turret tooltip broken with TurretAttackModifier tech and damage_modifier ~= 1

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”