View Single Post
  #2  
Old 08-01-2022, 11:34 AM
DeathsSilkyMist DeathsSilkyMist is online now
Planar Protector

DeathsSilkyMist's Avatar

Join Date: Jan 2014
Posts: 8,173
Default

Quote:
Originally Posted by pijan [You must be logged in to view images. Log in or Register.]
It's supposed to be a 35% DR but the math always come out to closer to 40%? How does this mechanic actually work?
I am not an expert on this, but I can take a guess or two. Please take it with a grain of salt.

First guess is the number may actually be closer to 40% hehe. We don't have definitive proof of what the values are under the hood, or what the exact calculation is. Unless the developers reveal this to us, we can never truly know.

The second guess (my preferred guess) is that the number is never going to be exactly 35% due to rounding and/or floating point precision. Let us look at how much Mana you get per WIS/INT. In my experiments, I found you actually don't always get the same number. At level 60 the number fluctuates between 11 and 12 mana per WIS/INT, depending on how much you increase it. This leads me to believe P99's rounding and/or floating point precision isn't highly accurate. This makes sense because it is an old game. You want lower precision so you can reduce storage/processing. So it is simply possible that rounding and/or floating point precision ends up giving you a bit more damage reduction. When you reduce 147 damage by 35%, you end up with 95.55. Since the damage numbers are always whole, at absolute minimum you are rounding the number down or up, so either 94 or 96.
Last edited by DeathsSilkyMist; 08-01-2022 at 11:38 AM..
Reply With Quote