how is hitting calculated?
#7
@Tommi:

I'm pretty sure your section on item defense is inaccurate, unless the defense values listed on items in the game are wrong.

By my observations, this is the way it's calculated:
- Take the min and max defense values from the armor.txt file.
- If there's any enhanced defense on the item itself (not sockets), set both min and max defense equal to the max defense + 1.
- If it's ethereal, multiply by 1.5, rounded down.
- Apply enhanced defense. It seemed that the ED from sockets was just added to the ED on the item itself, but ED based on clvl was applied separately. Due to the rounding, this just means defense is sometimes 1 less than if ED and ED based on clvl were just added together.
- Add the numerical defense boosts.

This is the way I'm calculating it with the armour defense calculator in my sig. I've done quite a bit of testing and the current calculations match my observations from the game. I have had to revise it a bit, though, and my experimentation methods were sometimes flawed. Preliminary tests showed no differences between 1.09 and 1.10. I've also done no tests with holy shield, as this is irrelevant for my calculator.

What I do know for certain is that, similar to the weapon damage calculations, the numerical defense is applied after the enhanced defense. The defense on Magefist should be enough to confirm this. They have 24-25, not 26-28.
Reply


Messages In This Thread
how is hitting calculated? - by Zoulz - 07-27-2003, 04:05 PM
how is hitting calculated? - by ghost70 - 07-27-2003, 07:26 PM
how is hitting calculated? - by Tommi - 07-27-2003, 07:27 PM
how is hitting calculated? - by Hammerman - 07-27-2003, 09:01 PM
how is hitting calculated? - by Dagni - 07-27-2003, 09:48 PM
how is hitting calculated? - by HunkyDory - 07-28-2003, 02:00 PM
how is hitting calculated? - by adeyke - 07-28-2003, 07:42 PM
how is hitting calculated? - by HunkyDory - 07-29-2003, 09:04 AM
how is hitting calculated? - by HunkyDory - 07-29-2003, 09:10 AM
how is hitting calculated? - by Tommi - 07-29-2003, 03:08 PM
how is hitting calculated? - by adeyke - 07-29-2003, 03:31 PM
how is hitting calculated? - by Tommi - 07-29-2003, 04:37 PM
how is hitting calculated? - by adeyke - 07-29-2003, 05:36 PM
how is hitting calculated? - by Tommi - 07-29-2003, 08:22 PM
how is hitting calculated? - by HunkyDory - 07-30-2003, 10:02 AM
how is hitting calculated? - by Tommi - 07-30-2003, 04:32 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)