Home
Random
Log in
Settings
About the Deadlock Wiki
Search
Editing
Ability Duration
Give feedback
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.
Anti-spam check. Do
not
fill this in!
'''Ability Duration''' determines how long the effect of abilities and items last. == Calculation == === Calculating Ability Duration === Multiple sources of Ability Duration stack '''multiplicatively''', not additively: <math>\text{Total Ability Multiple sources of Ability Duration stack '''multiplicatively''', not additively:} = 1 - (1 - R_1) \times (1 - R_2) \dots</math> '''Example:''' With '''{{DataProp|{{#vardefineecho: Item1|Magic Carpet}}|BonusAbilityDurationPercent}}%''' from {{ItemIcon|{{#var: Item1}}}} and '''{{DataProp|{{#vardefineecho: Item2|Diviner's Kevlar}}|BonusAbilityDurationPercent}}%''' from {{ItemIcon|{{#var: Item2}}}}: # Convert percentages to decimals: {{DataProp|{{#var: Item1}}|BonusAbilityDurationPercent}}% to {{#vardefineecho: Item1Duration|{{#expr: {{DataProp|{{#var: Item1}}|BonusAbilityDurationPercent}} / 100}}}} and {{DataProp|{{#var: Item2}}|BonusAbilityDurationPercent}}% to {{#vardefineecho: Item2Duration|{{#expr: {{DataProp|{{#var: Item2}}|BonusAbilityDurationPercent}} / 100}}}}. # Subtract from 1: (1 - {{#var: Item1Duration}}) = '''{{#expr: 1 - {{#var: Item1Duration}}}}''' and (1 - {{#var: Item2Duration}}) = '''{{#expr: 1 - {{#var: Item2Duration}}}}'''. # 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 - {{#var: CombinedItemDuration}} = '''{{#expr: 1 - {{#var: CombinedItemDuration}} round 4}}'''. # 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 == {{Item stat table|Ability Duration}} {{Stat navbox}} [[Category:Gameplay]]
Summary:
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:
Template:DataProp
(
edit
)
Template:If lang
(
view source
) (⧼restriction-level-bot+⧽)
Template:ItemIcon
(
edit
)
Template:ItemType
(
edit
)
Template:Item stat table
(
edit
)
Template:Item stat table/styles.css
(
edit
)
Template:Lang incomplete
(
view source
)
Template:Navbar
(
edit
)
Template:Navbox
(
edit
)
Template:Navbox/styles.css
(
edit
)
Template:Pic link
(
edit
)
Template:Pic link/styles.css
(
edit
)
Template:Plink
(
edit
)
Template:Souls
(
edit
)
Template:Stat navbox
(
edit
)
Module:Addcommas
(
edit
)
Module:Dictionary
(
edit
)
Module:GameData
(
edit
)
Module:Icon
(
edit
)
Module:Icon/data
(
edit
)
Module:ItemData
(
edit
)
Module:ItemTables
(
edit
)
Module:Lang
(
edit
)
Module:Souls
(
edit
)
Module:Utilities
(
edit
)
Data:Dictionary
(
edit
)
Data:ItemData.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:LangCodes.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:ResourceLookup.json
(
edit
)
Data:ResourceLookup2.json
(
edit
)