MacroBioBoi started speedrunning Diablo 2 three years ago with one mission in mind: to crack the top ten runners of all time on the Sorceress. After achieving this goal, he began studying every aspect of Diablo 2’s mechanics and ultimately went on to secure multiple World Records and top 5 placements across all characters. He beat the World Record for Diablo 2’s no-attacking Pacifist run so many times that he went on to literally write the book on how to do it, and he pioneered one of the top speedrunning tactics in the game. To this day, he continues to dig into the mysteries of Diablo 2 to uncover more secrets.
Published on August 17th, 2021
Last updated on September 29th, 2022
In Diablo 2 Resurrected, your character rolls the dice to determine if an attack hits or not. Hit Chance is determined by three primary Stats; Defense, Attack Rating, and Level. There are a lot of Attack Modifiers, bonus Stats, and additional factors that play into it. We'll cover all these aspects, and you'll be fully prepared to face the dangers of Sanctuary.
Hit Chance Basics
While there are a lot of Stats and other modifiers that play a role, the Hit Chance (Chance to Hit) calculation is fairly simple once you have the values. Chance to Hit determines if a Skill that requires a Hit Check will successfully land. AR = Attacker's Attack Rating Dr = Target's Defense ALVL = Attacker Level TLVL = Target Level
Chance to Hit = min(max(200% * (AR / (AR + Dr)) * (ALVL / (ALVL + TLVL)), 5%), 95%)
Chance to Hit is capped at 95%, and has a minimum value of 5%. A Character with 200% Chance to Hit, is reduced to 95%. A Character with 1% Chance to Hit is increased to 5%
In the equation above, Attack Rating vs Defense, and Attacker Level vs Target Level are not necessarily equivalent.
Both portions have a maximum value approaching, but never reaching, 1 (100%).
Attack Rating and Defense values have maximum values in the multiple-thousands, while Character Level has a max value of 99 and Monster Level has a max value of 110.
The Level differential between Attacker and Defender has a heavier weight even at very high Character Levels.
It becomes easy to eclipse the majority of Monster Dr with Character AR.
If a Character is Running then the Hit Check made by a hostile unit cannot fail its Hit Check. This means the calculation for Chance to Hit = 100% chance if the Character Target is running.
The Character Screen does not display the majority of % Defense modifiers from Skills, or properly calculate the Character's Chance to Hit monsters depending on a lot of variables. Use it as a rough estimate, but not an exact calculation of Defense or Attack Rating.
Defense is a Stat found on gear, boosted by Skills and monster Affixes, and derived from Dexterity, that decreases the chances that an attack will successfully hit its target.
As seen in the equation above, increasing your Defense Stat counteracts the attacker's Attack Rating. Before adding any source of +xx% Defense the calculation for Defense is:
Defense = (Dexterity / 4) + Total Defense from Equipment + Total Defense from Charms
The Sorceress shown is wearing basic gear to show relative Defense values. They have 40 points of Dexterity. From the D2Planner you see it calculates the Defense value from gear and Charms, then adds it to our Dexterity Defense value.
Low Quality items have 75% of the item's base Defense.
Ethereal items have 150% (rounded down) of the item's base Defense.
Increases an item's base Defense value by a % listed on the item. Additionally, the item's base Defense value is always set to its maximum + 1, which is set as the new base value before any other quality modifiers.
Example: Chain Gloves can have 8 or 9 base Defense.
Chance Guards can add 30% Enhanced Defense and +15 Defense.
We set the base Defense to 9 + 1 since the Stat +xx% Enhance Defense is present.
10 + 30% = 13. We then add the +15 Defense to reach the displayed total of 28 Defense.
Items without a Defense Stat, with the +xx% Enhanced Defense Stat modifies the summed Defense value prior to future modifiers. See Below.
+ Defense and Defense per Level
Increases an item's modified Defense by a flat integer value. This is the last modifier that affects an item's base Defense value before further Defense modification is applied. There are items with +xx Defense which do not have a Defense Stat. These are added to your Character's Defense rating as a flat amount, prior to future modifiers.
Each additional Stat Point allocated to Dexterity increases the Character's Attack Rating by 5.
Sources of +xx to Attack Rating are added to the base Attack Rating before any sources of +xx% Bonus to Attack Rating.
Weapons with +xx to Attack Rating only add their Stat when that Weapon is used to attack.
Example: Spectral Shard
Non-Weapon items add their +xx to Attack Rating to any Weapon when it's used to attack.
Weapons with +xx to Attack Rating (Based on Character Level) only add their Stat when that Weapon is used to attack.
Example: Schaefer's Hammer
Non-Weapon items add their +xx to Attack Rating (Based on Character Level) to any Weapon when it's used to attack.
Example: Angelic Halo
The two Stats +xx Attack Rating Against Demons and +xx Attack Rating Against Undead add Attack Rating the same way as normal AR, when the attack is targeting a Demon or Undead type monster, respectively.
Example: Demon Fang Short Sword
There is a bug for frenzy that is triggered if the FIRST Weapon swing misses in the sequence. The SECOND Weapon swing will use the Chance to Hit of the first Weapon, instead of the second Weapon's values.
+xx% Bonus to Attack Rating
Increases the Character's base Attack Rating by a percentage. All Skill and item sources of +xx% Bonus to Attack Rating are summed and multiplied by the sum of Attack Rating a Character has, this new value is their total Attack Rating.
Combat Shrines add +200% Attack Rating which applies after flat sources, and +xx% Bonus to Attack Rating.
Total Attack Rating = ((((Dexterity - 7) * 5 + Class Constant) + Summed Attack Rating from Gear1 + Attack Rating on Weapon used1) * (100% + Summed % Bonus to Attack Rating2)) * 200% Attack Rating from Combat Shrine
1. Add any sources of AR Against Demons or AR Against Undead if applicable. 2. Total = % Bonus to Attack Rating on Gear + % Bonus to Attack Rating on Weapon used + Summed % Bonus to Attack Rating from Skills.
Character Summon Attack Rating Values
Monsters that are converted (i.e. conversion) calculate Attack Rating using cLVL if cLVL < mLVL.
The Character Screen does not calculate the monster's Chance to Hit including the monster's Level modifier.
Player Settings increase a monster's Attack Rating by a % for each increase in Player Count.
Bonus% Attack Rating
Monsters using Skills also gain +xx% Attack Rating according to their Skill Level.
Skills without Hit Check
There are Skills which do not calculate Chance to Hit. These Skills do not have a Hit Check, and always hit their target. If the Skill is a Missile attack, the projectile successfully hits if it collides with a target.
If a Serpent Magus or Reanimated Horde uses charge
The following Skills apply their Skill effect without succeeding at a Hit Check. The Weapon damage does not apply, but the Skill damage does.
The Attacker's Attack Rating and Level attempt to overcome the Defender's Defense and Level.
The difference in Level is much harder to overcome than the difference between Attack Rating and Defense, even at high levels.
Flat bonuses to Attack Rating and Defense typically apply prior to % Bonus to Attack Rating / Defense.
Attack Rating from Weapons only apply when that Weapon is used to attack.
While Chance to Hit seems simple on paper, you are now equipped with all the know-how and secrets needed to Min-Max and crush the legions of Demons, Diablo II: Resurrected can throw at you. Happy Hunting!