Wrong damage numbers in the "Modifies" window of item tooltips

As just pointed out in a reddit thread, the damage calculations in the "Modifies" window - where it shows how your damage numbers will be affected by the item purchase - are completely off for some items.

Following screenshots have all been made in sandbox mode with a level 1 Lady Geist with base gun damage of 25 and no other items than the ones mentioned:

deadlock_tooltip4.png

Basic Magazine states the damage will increase from 26 to 30, instead of 25 to 30:

deadlock_tooltip5.pngdeadlock_tooltip6.png

The final damage calculation of 30 is correct, but the "before" number of 26 seems to already calculate the damage increase from the item giving +6% as a tier 1 item and afterwards adding 4 damage from the 15% increase of the item itself.

Now when we look at the upgrade Titanic Magazine after buying a Basic Magazine it shows the damage going from 34 to 33 (which would be a decrease), although she only has 30 damage to begin with.

deadlock_tooltip2.png

Again, it seems that the item tier modifier of +14% of a tier 2 item is calculated into the "before" gun damage shown (30+14%=34.2), without taking into consideration that you lose the +10% from the item it is being upgraded from. Then it seems to recalculate correctly and add the +18% gun damage the item itself gives, this time even taking into consideration the +15% you lose from the basic magazine, correctly ending up at the shown 33 damage:

deadlock_tooltip7.png

But it only seems to do that, because it gets even weirder, when we look at items without an upgrade path, for example Glass Cannon (without other items):

deadlock_tooltip8.png

It states that gun damage would increase from 47 to 50, although I only have 25 base gun damage, not 47. When you buy the item, your damage then doesn't actually increase to 50, but to 47:

deadlock_tooltip9.png


So in the two cases above (Basic and Titanic Magazine) the "after" number shown was correct at least, even if the "before" numbers somehow weren't but in this case, it's actually the "before" number shown that is correct and not the "after" number.

This made me realize that what actually is happening is that the "after" number is wrongly calculated by multiplying the base damage with each percentage damage increase multiplicatively instead of additively.

To further explain:

Glass Cannon gives +70% damage increase by itself and +18% for being a tier 4 item, which adds up to +88% (70+18), which is correctly shown in the above screenshot, because percentage damage increases are added additively. Base 25 multiplied by 1.88 is exactly 47, so that calculation is correct.
If you would multiply a 70% increase with the 18% increase (1.7*1.18) instead of adding them up like above, you would get a modifier of 100.6%. If we then multiply the base 25 damage by 2.006 instead of 1.88 we would get 50.15, which is rounded down to 50, which then shows as the "after" number, which is incorrect though.

Also there seems to be a straightup miscalculation when you look at Inhibitor, because it just calculates the 35% damage reduction into your own damage numbers, showing a damage decrease across the board, which doesn't make sense:

deadlock_tooltip10.png

Furthermore, if you look even closer, it shows the damage going down from 31 to 20, while in fact you go up from 25 (again base damage) to 31 (the shown "before" number) due to the "before" number being correctly calculated, taking into account the 25% wepaon damage increase the item gives and correctly ignoring the 35% damage reduction (25*1.25=31.25), while the "after" number incorrectly calculates by multiplying the 25% increase with a 35% decrease (which it shouldn't do to begin with but that's not the point right here) which would result in a factor of around 0.81 (1.25*0.65=0.8125), which then would bring her gun damage down to 25*0.8125=20.3125 rounded down to 20, the shown "after" number.

Funnily enough, those calculations are only wrong on a handful of items, not all of them. Those shown above are just the ones that were discussed in the reddit thread, I did not dive any further to find more, just noticed on a few others that the damage numbers shown are in fact correct.

TL;DR: "Before" and "After" damage numbers shown in the "Modifies" window on some item tooltips are calculated incorrectly because multiple percentage increases are calculated multiplicatively instead of additively.
 

Attachments

  • deadlock_tooltip6.png
    deadlock_tooltip6.png
    49.3 KB · Views: 1
Back
Top