Difference between revisions of "Disruption"

From CrawlWiki
Jump to: navigation, search
(update for 0.23, including statistical parsing of formula (s/o to IRC for setting me straight))
m (fix)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{version023}}
+
{{version030}}
'''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.
+
{{flavour|It deals significantly more damage against the undead.}}
 
+
'''Disruption''' is a brand exclusive to [[Undeadhunter]] which does the following:
==Damage Calculation==
+
*Has a 2/3 chance to deal an average of about +150% damage (0 - 300%) to [[undead]] targets, or an average of +100% damage per swing.
Additional damage is calculated according to the formula:
+
:Unlike other brands, the damage isn't distributed linearly. Instead, the extra damage equals <code>3d(3 * dam + 1)/3 - 1</code>, so it's weighted towards the average.<ref>{{source ref|0.30.1|art-func.h|709}}<br>It roughly follows the [https://en.wikipedia.org/wiki/Normal_distribution normal distribution] with slightly more variance. Due to integer truncation in C++, the mean is slightly lower than the expected average of 150%.</ref>
random2avg((1 + (dam * 3)), 3))<ref>{{source ref|0.23.0|art-func.h|765}}</ref>
 
<code>random2avg</code><ref>{{source ref|0.23.0|random.cc|288}}</ref> takes the average of 3 rolls, here, which means the resulting extra damage ''approximates'' a Gaussian 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 68–95–99.7 rule<ref>https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule</ref>, additional damage dealt is between 1× and 2× damage 68% of the time and between 0.5× and 2.5× damage 95% of the time.
 
  
 +
Unlike the similar [[holy wrath]] brand, this brand can be wielded by the [[undead]].
 +
 
==History==
 
==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.
+
*In [[0.9]], Disruption was made an exclusive brand to the Undeadhunter.
 +
*Prior to [[0.4]], Disruption was a normal brand found on random melee weapons. [[Holy wrath]] was enhanced in its stead.
  
 
==References==
 
==References==

Latest revision as of 16:12, 5 September 2023

Version 0.30: This article may not be up to date for the latest stable release of Crawl.
It deals significantly more damage against the undead.

Disruption is a brand exclusive to Undeadhunter which does the following:

  • Has a 2/3 chance to deal an average of about +150% damage (0 - 300%) to undead targets, or an average of +100% damage per swing.
Unlike other brands, the damage isn't distributed linearly. Instead, the extra damage equals 3d(3 * dam + 1)/3 - 1, so it's weighted towards the average.[1]

Unlike the similar holy wrath brand, this brand can be wielded by the undead.

History

  • In 0.9, Disruption was made an exclusive brand to the Undeadhunter.
  • Prior to 0.4, Disruption was a normal brand found on random melee weapons. Holy wrath was enhanced in its stead.

References

  1. art-func.h:709 (0.30.1)
    It roughly follows the normal distribution with slightly more variance. Due to integer truncation in C++, the mean is slightly lower than the expected average of 150%.
Brands
Melee weapons AntimagicChaosDistortionDrainingElectrocutionFlamingFreezingHeavyHoly wrathPainProtectionReachingSpectralSpeedVampiricVenom
DisruptionDragon slayingReapingSilver
Launchers AntimagicDrainingElectrocutionFlamingFreezingHeavyPenetrationSpeed
Throwing weapons AtropaCurareDaturaDispersalPoisonedSilver