Quote (Jeet @ Jan 25 2016 08:05am)
DMG definitely plays a roll in FHR.
You want 3-0 too?
That's the point. But mind blast stun, just like smite etc that causes swirlies bypasses this evaluation
1.damage is applied
2.if damage causes death of the target unit there'll be no further evaluation of GetHit
3.if target unit is frozen there'll be no further evaluation of GetHit
4.if applied damage is poison only there'll be no further evaluation of GetHit
5.if applied damage is smaller than 1 (aka 256 bites) there'll be no further evaluation of GetHit **
6.get MaxLife, maximum life of target unit
7.get divisor (the value which was believed to be 1/12) ***
8.get GetHitTriggerNumber via GetHitTriggerNumber = MaxLife / divisor
9.then the applied damage counts in in several steps if damage is smaller than GetHitTriggerNumber, there'll be no further evaluation of GetHit
if damage is smaller than GetHitTriggerNumber * 2, GetHit evaluation will continue with 50% chance (rnd {0, 1} = 0 Exit, otherwise continue to next step)
if last check was successful, or damage is smaller than GetHitTriggerNumber * 4, Hit Recovery will occur with 75% Chance (rnd {0, 1, 2, 3} = 0 Exit, otherwise Hit Recovery will happen)
if damage is bigger than GetHitTriggerNumber * 4, Hit Recovery will happen
10.if target unit is no subject to Hit Recovery at all, Hit Recovery will be skipped (yup, this check is done at the very end :-P )
** ingame calculations of damage and life are always multiplied with 256 to get some extra precision, since the engine can only do integers; thus 1 point equals 256 'bites', the result is then again divided by 256, and truncated
*** the default divisor is 16, sometimes 8 is used
StunSome skills cause a 'stun' effect. Common units are unable to do anything during stun duration, player characters and those monsters which can't suffer stun (namely Bosses and Act Bosses) will be forced into Hit Recovery, and will be forced into this animation again with each successful hit during that duration irregardless of caused damage. Exceptions, again, are those units which are no subject to Hit Recovery, say, Diablo.
Stun is delivered by
-
Mind Blast- Stun
- War Cry
- Shock Wave
- Smite
- Maul