Damage Resistance: Difference between revisions

rename
move section, add notice, add math, cleanup math
Line 6: Line 6:
Resistances from [[Level|Power Increase]]s seems to act strangely and requires more research.
Resistances from [[Level|Power Increase]]s seems to act strangely and requires more research.


== Stacking Resistances ==
== Notes ==
Resistances from multiple sources are multiplicative with each other.
Resistances can go negative, and this multiplies the damage taken of that type.
 
30% resist= 70% of the damage from the weapon or ability.
 
0% resist = 100% of the damage from the weapon or ability.


<math>\mathit{Displayed Resist} = 1 - (1 - \mathit{Resistance 1}) * (1 - \mathit{Resistance 2}) * ... * (1 - \mathit{Resistance N})</math>
-30% resist = 130% of the damage from the weapon or ability.


For example, multiple sources of Bullet Resist
Items like [[Headshot Booster]] grant a flat added bullet damage, this bonus damage is not multiplied by weapon damage but is subject to resistance reduction/increase in damage.


== Math ==
Despite being presented in-game as +X% Bullet Resist, multiple sources of bullet resist stack multiplicatively, not additively.
The formula for bullet resist is: <math>BR_f = \left\lceil 1 - \prod_{i=1}^n (1 - BR_i) \right\rceil</math><br/>
where:<br/>
<math>
\begin{align}
  BR_f &= \text{final bullet resist,} \\
  n &= \text{number of bullet resist sources,} \\
  BR_n &= \text{bullet resist value} \\
\end{align}
</math>
For example, multiple sources of Bullet Resist:
* 60% Bullet Resist from Viscous' [[Viscous#(4)_Goo_Ball|Goo Ball]]  
* 60% Bullet Resist from Viscous' [[Viscous#(4)_Goo_Ball|Goo Ball]]  
* 40% Bullet Resist from the [[Colossus]] [[Items|Item]] results in:
* 40% Bullet Resist from the [[Colossus]] [[Items|Item]] results in:


<math>1 - (1 - 0.6) * (1 - 0.4) = 76% Bullet Resist</math>
<math>1 - (1 - 0.6) * (1 - 0.4) = 76% \text{ Bullet Resist}</math>


==Resistance Reduction==
==Resistance Reduction==
Line 34: Line 52:


<math>[1 - (1 - 0.7) * (1 - 0.2)] -[1 - (1-0.12)*(1-0.12)*(1-0.24)] =  \mathit 35% Spirit Resist</math>
<math>[1 - (1 - 0.7) * (1 - 0.2)] -[1 - (1-0.12)*(1-0.12)*(1-0.24)] =  \mathit 35% Spirit Resist</math>
==Notes==
Resistances can go negative, and this multiplies the damage taken of that type.
30% resist= 70% of the damage from the weapon or ability.
0% resist = 100% of the damage from the weapon or ability.
-30% resist = 130% of the damage from the weapon or ability.
Items like [[Headshot Booster]] grant a flat added bullet damage, this bonus damage is not multiplied by weapon damage but is subject to resistance reduction/increase in damage.


==Graphs==
==Graphs==
{{Construction}}
''Include graph of effective health as a function of Damage Reduction.'' In the mean time, feel free to refer to this [https://www.desmos.com/calculator/97vhqmutyz Desmos graph].
''Include graph of effective health as a function of Damage Reduction.'' In the mean time, feel free to refer to this [https://www.desmos.com/calculator/97vhqmutyz Desmos graph].