Difference between revisions of "Disruption"
m |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{version028}} |
'''Disruption''' is a special [[brand]] found only on the [[artefact]] [[great mace]], '''[[Undeadhunter]]'''. Each time it strikes an [[undead]] target and deals damage <code>dam</code>, there is a 2/3 probability for the target to be blasted with disruptive energy up to an additional 3× damage (4× damage in total). On average, you deal 1.67× damage to undead targets. | '''Disruption''' is a special [[brand]] found only on the [[artefact]] [[great mace]], '''[[Undeadhunter]]'''. Each time it strikes an [[undead]] target and deals damage <code>dam</code>, there is a 2/3 probability for the target to be blasted with disruptive energy up to an additional 3× damage (4× damage in total). On average, you deal 1.67× damage to undead targets. | ||
==Damage Calculation== | ==Damage Calculation== | ||
− | Additional damage is calculated according to the formula: | + | Unlike most brands, bonus damage is not linearly distrubuted. Additional damage is calculated according to the formula: |
− | random2avg((1 + (dam * 3)), 3))<ref>{{source ref|0. | + | random2avg((1 + (dam * 3)), 3))<ref>{{source ref|0.28.0|art-func.h|637}}</ref> |
− | <code>random2avg</code><ref>{{source ref|0. | + | <code>random2avg</code><ref>{{source ref|0.28.0|random.cc|327}}</ref> takes the average of 3 rolls, here, which means the resulting extra damage ''approximates'' a normal distribution with a mean of <code>3/2 × dam</code><ref><code>random2avg</code> returns an int, which shifts the mean slightly downwards from this value due to the effect of integer truncation for division in C++.</ref> and a standard deviation of approximately <code>1/2 × dam</code><ref>More exactly: <code>1/2 × sqrt[(dam × dam) + (dam / 3)]</code>. The difference between the two calculations is negligible, as the increase is between 0.08 and 0.083(3) for any <code>dam</code> above 1.</ref>. |
− | Following the | + | Following the normal distrubution<ref>https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule</ref>, additional damage dealt is between +100% and +200% damage, 68% of the time, and between +50% and +250% damage 95% of the time. (Assuming it deals extra damage at all) |
==History== | ==History== |
Revision as of 22:12, 20 August 2022
Disruption is a special brand found only on the artefact great mace, Undeadhunter. Each time it strikes an undead target and deals damage dam
, there is a 2/3 probability for the target to be blasted with disruptive energy up to an additional 3× damage (4× damage in total). On average, you deal 1.67× damage to undead targets.
Damage Calculation
Unlike most brands, bonus damage is not linearly distrubuted. Additional damage is calculated according to the formula:
random2avg((1 + (dam * 3)), 3))[1]
random2avg
[2] takes the average of 3 rolls, here, which means the resulting extra damage approximates a normal distribution with a mean of 3/2 × dam
[3] and a standard deviation of approximately 1/2 × dam
[4].
Following the normal distrubution[5], additional damage dealt is between +100% and +200% damage, 68% of the time, and between +50% and +250% damage 95% of the time. (Assuming it deals extra damage at all)
History
Disruption was once a normal brand found on random melee weapons. In 0.4, it was removed and the holy wrath brand was enhanced instead. It was returned in 0.9 for this particular artefact.
References
- ↑ art-func.h:637 (0.28.0)
- ↑ random.cc:327 (0.28.0)
- ↑
random2avg
returns an int, which shifts the mean slightly downwards from this value due to the effect of integer truncation for division in C++. - ↑ More exactly:
1/2 × sqrt[(dam × dam) + (dam / 3)]
. The difference between the two calculations is negligible, as the increase is between 0.08 and 0.083(3) for anydam
above 1. - ↑ https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule
Brands | |
---|---|
Melee weapons | Antimagic • Chaos • Distortion • Draining • Electrocution • Flaming • Freezing • Heavy • Holy wrath • Pain • Protection • Reaching • Spectral • Speed • Vampiric • Venom Disruption • Dragon slaying • Reaping • Silver |
Launchers | Antimagic • Draining • Electrocution • Flaming • Freezing • Heavy • Penetration • Speed |
Throwing weapons | Atropa • Curare • Datura • Dispersal • Poisoned • Silver |