old value:
https://pathofexile.gamepedia.com/index.php?title=Shock&oldid=352053
The minimum shock duration is 300 ms, meaning that by default, lightning damage of less than 5% of a target's maximum life will not apply
t_insert(breakdown.ShockDPS, s_format("For shock to apply, target must have no more than %d life.", baseVal * 20 * output.ShockDurationMod))
hence the 100/5 = 20
New: https://www.pathofexile.com/forum/view-thread/1929712
With the release of The Fall of Oriath, we're going to be changing the threshold so that you only need to deal 10% of a target's life to gain a maximum effect shock. This will make it much easier to apply Shock effects to very high health bosses, which achieves our desired goal; Lightning and Cold based characters can now apply their own ailments to bosses, but not at a strength that would make the encounter too easy without appropriate investment. This means that we can now remove all Chill and Shock immunity from end-game boss encounters. We've removed the minimum, so as long as you'd have a 1% effect with your Chill or Shock, the ailment will be displayed and will have an effect.
So 10% of target life = 50 % shock effect
Shock will apply when it has at least 1 % effect
So 1% shock effekt = 0.2% target life
100/0,2 = 500
Therefore the only change needed is
t_insert(breakdown.ShockDPS, s_format("For shock to apply, target must have no more than %d life.", baseVal * 500 * output.ShockDurationMod))
old value:
https://pathofexile.gamepedia.com/index.php?title=Shock&oldid=352053
t_insert(breakdown.ShockDPS, s_format("For shock to apply, target must have no more than %d life.", baseVal * 20 * output.ShockDurationMod))hence the 100/5 = 20
New: https://www.pathofexile.com/forum/view-thread/1929712
So 10% of target life = 50 % shock effect
Shock will apply when it has at least 1 % effect
So 1% shock effekt = 0.2% target life
100/0,2 = 500
Therefore the only change needed is
t_insert(breakdown.ShockDPS, s_format("For shock to apply, target must have no more than %d life.", baseVal * 500 * output.ShockDurationMod))