Difference between revisions of "Disruption"

From CrawlWiki
Jump to: navigation, search
m (r2avg, unlike YdX, can return 0, so we need a "-1" there. Also, it might be worth trimming these formulas, and especially the details about C++'s implementation of integers)
(shorten math, as requested)
Line 2: Line 2:
 
{{flavour|It deals significantly more damage against the undead.}}
 
{{flavour|It deals significantly more damage against the undead.}}
 
'''Disruption''' is a brand exclusive to [[Undeadhunter]] which does the following:
 
'''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. That's an average of +100% damage per swing.
+
*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, damage is equal to <code>3d(3 * dam + 1)/3 - 1</code>.<ref>{{source ref|0.28.0|art-func.h|637}}<br>random2avg(X, Y) is equivalent to [Yd(X) / Y] - 1, see {{source ref|0.28.0|random.cc|327}}</ref> This approximates a normal distribution with mean of roughly <code>3/2 × dam</code>,<ref>Random2avg returns an int. Due to integer truncation in C++, the average damage is slightly lower than 3/2.</ref> and standard deviation of roughly <code>1/2 × dam</code>.<ref>More exactly, standard dev = <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>
+
: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><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>
  
 
Unlike the similar [[holy wrath]] brand, this brand can be wielded by the [[undead]].
 
Unlike the similar [[holy wrath]] brand, this brand can be wielded by the [[undead]].
Line 13: Line 13:
 
==References==
 
==References==
 
<references/>
 
<references/>
 
::Following the [https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule normal distribution], 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).
 
  
 
{{brands}}
 
{{brands}}
  
 
[[Category:Brands]]
 
[[Category:Brands]]

Revision as of 15: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.Cite error: Closing </ref> missing for <ref> tag

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


Brands
Melee weapons AntimagicChaosDistortionDrainingElectrocutionFlamingFreezingHeavyHoly wrathPainProtectionReachingSpectralSpeedVampiricVenom
DisruptionDragon slayingReapingSilver
Launchers AntimagicDrainingElectrocutionFlamingFreezingHeavyPenetrationSpeed
Throwing weapons AtropaCurareDaturaDispersalPoisonedSilver