Jump to content

Shaodw saddle seem has much more aligned damage resist than expected


Cassielu
  • Fixed

The damagetyperesist provided by the saddle was double counted.

shadow saddle has much more shadow aligned damage reduction than 10%. In the case of cave skeleton, it was supposed to deal 200/2*0.9*0.4=36 damage, but it actually dealt 200/2*0.9*0.4*0.75=27 damage

040c2007527940bf4a848ede8585c241.jpg.4ec0e1d515c0d77a2aacbc8ed08b83ea.jpg

5449901F-EEC0-4cd3-83C9-2D141F68B7E2.png.c7d27ace80a93e9b925eb2068201efc9.png


Steps to Reproduce
  1. use shadow saddle
  2. take damage from shadow aligned mob
  • Like 2



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Looks like this is also related to an error in saddler:ApplyDamage

image.png.318a06a6b72e3e9ce141fecc2fc2c625.png

This function, using a 100 dmg Fuelweaver attacking a target with 60% absorption and 10% resist, would return:
(100 * 0.9) - (100 * 0.6) = 30 damage, which is already lower than the intended 36 without factoring in that 0.9 is used twice.

Issue is that leftover_damage is a fraction of damage (100) when it should be a fraction of damage * damagetypemult (90)
Quick fix: move absorbed_damage * self:GetAbsorbtion() down to below damage = damage * damagetypemult

  • Like 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...