Ability Duration: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
add calculation section similar to Ability Range and Ability Cooldown pages
Calculation: change calculation to dynamically pull from ItemData. also, I compared Magic Carpet and Diviner's Kevlar because I think 15 + 15 =/= 30 illustrates the diminishing returns a little clearer than Superior Duration's +28%, but you could use that instead since it's the most obvious duration item
 
Line 9: Line 9:


'''Example:'''
'''Example:'''
With '''15%''' from {{ItemIcon|Magic Carpet}} and '''15%''' from {{ItemIcon|Diviner's Kevlar}}:
With '''{{ItemData|{{#vardefineecho: Item1|Magic Carpet}}|BonusAbilityDurationPercent}}''' from {{ItemIcon|{{#var: Item1}}}} and '''{{ItemData|{{#vardefineecho: Item2|Diviner's Kevlar}}|BonusAbilityDurationPercent}}''' from {{ItemIcon|{{#var: Item2}}}}:
# Convert percentages to decimals: 0.15 each.
# Convert percentages to decimals: {{ItemData|{{#var: Item1}}|BonusAbilityDurationPercent}} to {{#vardefineecho: Item1Duration|{{#expr: {{#replace: {{ItemData|{{#var: Item1}}|BonusAbilityDurationPercent}}|%|}} / 100}}}} and {{ItemData|{{#var: Item2}}|BonusAbilityDurationPercent}} to {{#vardefineecho: Item2Duration|{{#expr: {{#replace: {{ItemData|{{#var: Item2}}|BonusAbilityDurationPercent}}|%|}} / 100}}}}.
# Subtract from 1: (1 - 0.15) = '''0.85''' and (1 - 0.15) = '''0.85'''.
# Subtract from 1: (1 - {{#var: Item1Duration}}) = '''{{#expr: 1 - {{#var: Item1Duration}}}}''' and (1 - {{#var: Item2Duration}}) = '''{{#expr: 1 - {{#var: Item2Duration}}}}'''.
# Multiply the differences: 0.85 × 0.85 = '''0.7225'''.
# Multiply the differences: {{#expr: 1 - {{#var: Item1Duration}}}} × {{#expr: 1 - {{#var: Item2Duration}}}} = '''{{#vardefineecho: CombinedItemDuration|{{#expr: (1 - {{#var: Item1Duration}}) * (1 - {{#var: Item2Duration}}) round 4}}}}'''.
# Subtract from 1: 1 - 0.7225 = '''0.2775'''.
# Subtract from 1: 1 - {{#var: CombinedItemDuration}} = '''{{#expr: 1 - {{#var: CombinedItemDuration}} round 4}}'''.
# Total Ability Range bonus is approximately '''27.8%''', not 30%.
# Total Ability Duration bonus is '''{{#expr: (1 - {{#var: CombinedItemDuration}}) * 100 round 1}}%''', not {{#expr: ({{#var: Item1Duration}} + {{#var: Item2Duration}}) * 100 round 1}}%.


== Sources of Ability Duration ==
== Sources of Ability Duration ==

Latest revision as of 17:09, 10 September 2026

Ability Duration determines how long the effect of abilities and items last.

Calculation

[edit | edit source]

Calculating Ability Duration

[edit | edit source]

Multiple sources of Ability Duration stack multiplicatively, not additively:

Total Ability Multiple sources of Ability Duration stack '''multiplicatively''', not additively:=1(1R1)×(1R2)

Example: With 15% from Magic Carpet and 15% from Diviner's Kevlar:

  1. Convert percentages to decimals: 15% to 0.15 and 15% to 0.15.
  2. Subtract from 1: (1 - 0.15) = 0.85 and (1 - 0.15) = 0.85.
  3. Multiply the differences: 0.85 × 0.85 = 0.7225.
  4. Subtract from 1: 1 - 0.7225 = 0.2775.
  5. Total Ability Duration bonus is 27.8%, not 30%.

Sources of Ability Duration

[edit | edit source]
This is a dynamic list "Ability Duration". Edit contents.
NameSoulsCostCategoryStat change
Spiritual Overflow6,400 Weapon+13% Ability Duration
Diviner's Kevlar6,400 Vitality+15% Ability Duration
Arcane Surge1,600 Spirit+15% Ability Duration
Duration Extender1,600 Spirit+22% Ability Duration
Superior Duration3,200 Spirit+28% Ability Duration
Magic Carpet6,400 Spirit+15% Ability Duration