I have a pet with life and storm ward, defy, and proof. I have 9.8% resist from proof and 4.9% from defy which adds up to 15%. My wards are at 14.7% which also should round up to 15% but its only giving 14%. Is there something I'm missing in the math? Did I use the wrong formulas? Or is it a bug?
Strength: 250 Agility: 244 Power: 239
For Wards I used: (2*250+2*244+239)*3/250=14.724 For Proof I used: (2*250+2*244+239)/125=9.816 For Defy I used: (2*250+2*244+239)/250=4.908 Proof+Defy: 9.816+4.908=14.724
1% of resist isn't that big of a deal, but I'm curious about the math and why it's giving 15% and 14% instead of both 15%.
The number 14.7 isn't quite 15, so it will still read as 14 even though you have 14.7% resist because the numbers aren't rounded up. You don't have 15% resist, but have 14.7% resist, which is just off by 0.3% which is almost nothing!
(Yes, the extra 0.7 is included in your stats making it 14.7%, which is close enough to 15%)
The number 14.7 isn't quite 15, so it will still read as 14 even though you have 14.7% resist because the numbers aren't rounded up. You don't have 15% resist, but have 14.7% resist, which is just off by 0.3% which is almost nothing!
(Yes, the extra 0.7 is included in your stats making it 14.7%, which is close enough to 15%)
That would make sense if both proof/defy AND ward were giving 14% since both are 14.7%. But one IS giving 15%.
The first time I asked about the math behind pet stats, I was told .4 and below rounded down (so 14.4% would be 14%) and .5 and above rounded up (which would make 14.7% 15%). Is this fact or an assumption? And if decimals are completely ignored and only the number before the decimal is used (14%) why is one 14.7% 15%?
Would you mind clarifying @dumbug23? I'm more confused about the math now than I was yesterday lol. :)
That would make sense if both proof/defy AND ward were giving 14% since both are 14.7%. But one IS giving 15%.
The first time I asked about the math behind pet stats, I was told .4 and below rounded down (so 14.4% would be 14%) and .5 and above rounded up (which would make 14.7% 15%). Is this fact or an assumption? And if decimals are completely ignored and only the number before the decimal is used (14%) why is one 14.7% 15%?
Would you mind clarifying @dumbug23? I'm more confused about the math now than I was yesterday lol. :)
~Emma
14.7 isn't 15, it's still technically reads as 14% or 15%.
Numbers for resist are not always rounded to the nearest whole number. Therefore, your resist is 14.7% but it will always inaccurately read 14% or 15% because your stats don't display decimals.
You have 14.7 for both Proof + Defy and Ward. Your resist altogether with these is 29%.
14.7 + 14.7 = 29.4
And no, decimals are not ignored. If they were, your resist with all three resist talents would be 28%, not 29%.
14 + 14 = 28
Spell-Proof and Spell-Defy together make 14.7, which is the same number as Ward.
I don't know the exact math behind the decimals, but from my experience only the first decimal is counted because anything after that is too small to be registered.
All in all, don't worry about the math. You have 29.4% resist to life and storm with just your pet. You don't see the extra 0.4% anywhere on your stats page, but it's there!
As an example, my pet armament gives 14.8% resistance from both Proof and Defy. I have 50% resistance to all classes, but it's not really 50% exactly. Since my pet gives 14.8% resist and not exactly 15%, I actually have 49.8% resistance! (My resistance was inaccurately rounded up)
At first I didn't really believe that the system took decimals into account, but then I was hit by a Wild Bolt dealing 1,000 damage. Since I thought i had exactly 50% resistance, I thought I would only take 500 damage. Instead, it dealt 502 damage.
If I do the math correctly, 1,000 - 49.8% = 502
Sometimes the system inaccurately rounds your stats up or down depending on the first decimal. If you have a pet with 14% or 15% resist but the calculations say 14.7, it's really 14.7%!
I hope that answers all of your questions! If you have more questions regarding this topic I'll be happy to help.