Editing Damage Resistance

Jump to navigation Jump to search
Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
'''Damage Resistance''' refers to the [[Weapon Damage|Bullet]], [[Melee Attack|Melee]], and [[Spirit Power|Spirit]] Resist statistics which reduce incoming damage taken. Bullet Resist reduces all weapon and melee damage, Melee Resist reduces only melee damage, while Spirit Resist reduces all spirit damage. [[Unit]]s have a unique "Damage Resistance" stat that is applied to all sources of damage, including [[Trooper]]s.
'''Damage Resistance''' refers to the Bullet, Melee, and Spirit Resist statistics which reduce incoming damage taken. Bullet Resist reduces all weapon and melee damage, Melee Resist reduces only melee damage, while Spirit Resist reduces all spirit damage.


Most resistances stack multiplicatively; they are not added together. Sources of Resistance Reduction are multiplied together separately first. The total reduction is then subtracted from the total resistance. This has the consequence of resistance reduction being more effective on targets with higher resistance.
Most resistances stack diminishingly, with each additional resistance source having reduced effect. Resistance Reduction is applied to the final resistance, and is stacked separately and diminishingly.
{{#ev:youtube|kOg7Q-OLwwQ|360|description=Video explaining Damage Resistance}}


== Resistance types ==
The Bullet Resistance and Spirit Resistance stats are also sometimes referred to as "Bullet Armor" and "Spirit Armor".
=== Bullet Resist ===
Bullet Resist reduces all incoming [[Weapon Damage]], including from abilities. [[Troopers]], [[Guardians]], [[Neutrals]] and the [[Mid-Boss]] deal weapon damage.


List of abilities that deal weapon damage:
== Starting Damage Resistance ==
{{AbilityTable|weapondamage}}
Most [[Hero|Heroes]] have no starting damage resistance. However, there are a few exceptions:


=== Spirit Resist ===
=== Bullet Damage Resistance ===
Spirit Resist reduces all incoming [[Spirit Damage]]. Most abilities and items deal spirit damage, as well as [[Walkers]], [[Shrines]], and the [[Patron]].


=== Melee Resist ===
* {{PageRef|name=Bebop}} has {{#invoke:HeroData|get_hero_var|Bebop|BulletResist|3}}% bullet damage resistance.
* {{PageRef|name=Dynamo}} has no starting bullet damage resistance, but he gains 0.625% per [[Boon]] (20% at max level).


Melee Resist reduces all incoming [[Melee Damage]], including from abilities.
=== Spirit Damage Resistance ===


In addition to Melee Resist gained from items, Bullet Resist affects all Weapon Damage, granting another source of resistance against Melee Damage. The only exception is {{HeroIcon|Venator}}'s innate Spirit-scaled Bullet Resist, although this is likely a bug.
* {{PageRef|name=Lash}} has {{#invoke:HeroData|get_hero_var|Lash|TechResist|3}}% spirit damage resistance.
* {{PageRef|name=Pocket}} and {{PageRef|name=Trapper}} have {{#invoke:HeroData|get_hero_var|Pocket|TechResist|3}}% spirit damage resistance (they take 15% more spirit damage).
* {{PageRef|name=Kelvin}} and {{PageRef|name=McGinnis}} have no starting spirit damage resistance, but gain 0.625% per Boon (20% at max level).


List of abilities that deal melee damage:
=== Headshot Critical Damage Reduction ===
{{AbilityTable|Melee|hide=Light Melee Scaling,Notes}}


=== Crit Reduction ===
* {{PageRef|name=Seven}} has {{#invoke:HeroData|get_hero_var|hero_gigawatt|CritDamageReceivedScale|3}}% critical damage reduction.
Crit Reduction is a stat that reduces the critical damage (headshots) received by the hero. Not to be confused with [[Weapon Damage#Crit Multiplier|Crit Bonus Scale]], a stat that reduces the critical damage dealt by the hero to other targets.


Crit Reduction is an innate stat to balance heroes with large head hitboxes, and cannot be modified by items or abilities.
* {{PageRef|name=Mo & Krill}} have {{#invoke:HeroData|get_hero_var|hero_krill|CritDamageReceivedScale|3}}% critical damage reduction (Mo's head only).


== Starting Damage Resistance ==
=== Boon Resistances ===
The following [[Hero|Heroes]] either have starting Damage Resistance values or gain resistance with [[Boon|Boons]] or [[Spirit Power]]. Boon and Spirit scaling resistances stack additively.
Resistances gained from [[Boon|Boons]] (e.g., {{PageRef|name=Dynamo}}'s Bullet Resist or {{PageRef|name=Kelvin}}'s Spirit Resist) stack '''additively'''. This is an exception to the standard multiplicative stacking rules for other resist sources.


Note: Negative values indicate that the hero receives increased damage.
== Melee Resist ==
Melee Resist is a special case of Bullet Resist that stacks diminishingly alongside it to reduce all incoming melee damage. This includes all 'melee' abilities such as {{HeroIcon|Viscous}}' {{AbilityIcon|Puddle Punch}} ability.


{{#invoke:HeroDataArrays|heroDamageResistTable}}
== Math ==
Despite being presented in-game as +x% Bullet, Melee, or Spirit Resist, multiple sources of resist stack multiplicatively, not additively.


== Calculation ==
The formula for resist is: <math>BR_f = \left\lceil 1 - \prod_{i=1}^n (1 - BR_i) \right\rceil</math><br />
While items often display resistance as a flat percentage (e.g., +20% Resist), multiple sources of resistance do not simply add together. Instead, they stack '''multiplicatively'''.
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>


=== Calculating Resistance ===
For example, multiple sources of Bullet Resist:
To find your total resistance, use the following formula:
* 60% Bullet Resist from Viscous' [[Viscous#(4)_Goo_Ball|Goo Ball]]
* 40% Bullet Resist from the [[Colossus]] [[Items|Item]] results in:


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


'''Example:'''
==Resistance Reduction==
If you have two sources of resistance, one providing '''40%''' and another providing '''20%''':
Resistance Reduction refers to any negative amount of Resist, making the target take increased damage.
# Convert percentages to decimals: 0.40 and 0.20.
# Subtract from 1: (1 - 0.40) = '''0.60''' and (1 - 0.20) = '''0.80'''.
# Multiply the remainders: 0.60 × 0.80 = '''0.48'''.
# Subtract from 1: 1 - 0.48 = '''0.52'''.
# Your Total Resist is '''52%'''.


=== Calculating Resistance Reduction ===
Resistance Reduction is calculated multiplicatively like resistance, but then simply subtracted from the resistance amount.
'''Resistance Reduction''' (often called "shred") acts as a counter to resistance. It is calculated separately using the same multiplicative formula, and then subtracted from the target's resistance.


<math>\text{Final Resist} = \text{Total Resistance} - \text{Total Reduction}</math>
<math>\mathit{Displayed Resist} = [1 - (1 - \mathit{Resistance 1}) * (1 - \mathit{Resistance 2}) * ... * (1 - \mathit{Resistance N})] - [1 - (1 - \mathit{ResReduct.1}) * (1 - \mathit{ResReduct.2})* ... * (1 - \mathit{ResReduct.N})]</math>


'''Example:'''
For example, using Bullet Resists and Reductions:
A target has '''52%''' Total Resistance (as calculated above). You attack them with two sources of Reduction: one providing '''25%''' and another providing '''20%'''.


'''Step 1: Calculate Total Reduction'''
* 70% Spirit Resist from Viscous' [[Viscous#(4) Goo Ball|Goo Ball]]
<math>1 - (1 - 0.25) \times (1 - 0.20) = 0.40 \rightarrow \mathbf{40\%}</math>
* 20% Spirit Resist from [[Spirit Armor]]
* -12% Spirit Resist from [[Spirit Strike]]
* -12% Spirit Resist from [[Mystic Vulnerability]]
* -24% Spirit Resist from [[Crippling Headshot]]


'''Step 2: Subtract Reduction from Resistance'''
<math>[1 - ((1 - 0.7) * (1 - 0.2))] -[1 - ((1-0.12)*(1-0.12)*(1-0.24))] = \mathit 35% Spirit Resist</math>
<math>52\% - 40\% = \mathbf{12\%}</math>


The target has a final effective Resist of only '''12%'''.
The final Resistance can go negative, and this multiplies the damage taken of that type. For example:


=== Negative Resistance ===
* 30% resist= 70% of the damage from the weapon or ability.
If the Total Reduction is higher than the Total Resistance, the final value will be negative. This acts as a damage amplifier.
* 0% resist = 100% of the damage from the weapon or ability.
* -30% resist = 130% of the damage from the weapon or ability.


* '''30% Resist:''' You take '''70%''' of incoming damage.
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.
* '''0% Resist:''' You take '''100%''' of incoming damage (True Damage).
* '''-30% Resist:''' You take '''130%''' of incoming damage.


== Effective Health ==
==Effective Health==
{{Construction}}
{{Construction}}
[[File:Resistance-graph.png|thumb|A graph showing how despite the resistance percentage not growing additively, it scales the player's effective health additively.]]
[[File:Resistance-graph.png|thumb|A graph showing how despite the resistance percentage not growing additively, it scales the player's effective health additively.]]
Line 84: Line 85:
=== Bullet Resist ===
=== Bullet Resist ===
{{Item stat table|Bullet Resist}}
{{Item stat table|Bullet Resist}}
* {{ItemIcon|Monster Rounds}} increases Bullet Resist vs. NPCs by +{{#invoke:ItemData|get_prop|Monster Rounds|NonPlayerBulletResist}}.  
* {{ItemIcon|Monster Rounds}} increases Bullet Resist vs. NPCs by +{{#invoke:ItemData|get_prop|Monster Rounds|NonPlayerBulletResist}}%.  
* {{ItemIcon|Escalating Resilience}} increases Bullet Resist by {{#invoke:ItemData|get_prop|Escalating Resilience|BulletResistPerStack}} per [[stack]] per shot when hitting enemy heroes, maxing at {{#invoke:ItemData|get_prop|Escalating Resilience|MaxArmorStacks}} Bullet Resist.
* {{ItemIcon|Escalating Resilience}} increases Bullet Resist by {{#invoke:ItemData|get_prop|Escalating Resilience|BulletResistPerStack}}% per [[stack]] per shot when hitting enemy heroes, maxing at {{#invoke:ItemData|get_prop|Escalating Resilience|MaxArmorStacks}}% Bullet Resist.


=== Bullet Resist Reduction ===
=== Bullet Resist Reduction ===
Line 99: Line 100:
{{Item stat table|Spirit Resist Reduction}}
{{Item stat table|Spirit Resist Reduction}}


* {{ItemIcon|Spirit Rend}} reduces {{#invoke:ItemData|get_prop|Spirit Rend|TechArmorDamageReduction}} spirit resist on bullet hit from its component {{ItemIcon|Spirit Shredder Bullets}}, as well as an additional {{#invoke:ItemData|get_prop|Spirit Rend|MagicResistReduction}} spirit resist reduction per stack on headshots, up to a max of 4 stacks (-33% spirit resist total).
* {{ItemIcon|Spirit Rend}} reduces {{#invoke:ItemData|get_prop|Spirit Rend|MagicResistReduction}}% spirit resist on bullet hit from its component {{ItemIcon|Spirit Shredder Bullets}}, as well as an additional {{#invoke:ItemData|get_prop|Spirit Rend|TechArmorDamageReduction}}% spirit resist reduction per stack on headshots, up to a max of 4 stacks (-33% spirit resist total).
{{Stat navbox}}
{{Stat navbox}}
[[Category:Damage Calculation]]
[[Category:Damage Calculation]]
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Pages included on this page: