Editing Ability Range

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:
[[File:Ability Range.png|thumb|[[Shiv]]'s Slice and Dice ability, improved by bonus [[Ability Range]] and [[Spirit Power]] stats.|class=notpageimage]]
[[File:Ability Range.png|thumb|[[Shiv]]'s Slice and Dice ability, improved by bonus [[Ability Range]] and [[Spirit Power]] stats.|class=notpageimage]]


[[Ability Range]] determines the effective distance and cast range of hero abilities and items. It is measured in a distance of meters, and stat gains are measured in percentages.
[[Ability Range]] determines the effective distance and cast range of hero abilities. It is measured in a distance of meters, and stat gains are measured in percentages.


For example, [[Shiv]]'s '''Slice and Dice''' ability has a dash range of '''12 meters'''. Purchasing [[Mystic Expansion]] improves this by '''35%''', making the new effective dash range of the ability '''16.2 meters'''.
For example, [[Shiv]]'s '''Slice and Dice''' ability has a dash range of '''12 meters'''. Purchasing [[Mystic Expansion]] improves this by '''35%''', making the new effective dash range of the ability '''16.2 meters'''.
The range of [[Active Items]] does not consider height and their cast range is shaped like a cylinder. This means their range can be greater than expected when targeting heroes above or below the player.


== Calculation ==
== Calculation ==
Line 15: Line 13:


'''Example:'''
'''Example:'''
With '''{{ItemData|{{#vardefineecho: Item1|Greater Expansion}}|TechRangeMultiplier}}''' from {{ItemIcon|Greater Expansion}} and '''{{ItemData|{{#vardefineecho: Item2|Divine Barrier}}|TechRangeMultiplier}}''' from {{ItemIcon|Divine Barrier}}:
With '''35%''' from {{ItemIcon|Greater Expansion}} and '''10%''' from {{ItemIcon|Divine Barrier}}:
# Convert percentages to decimals: {{ItemData|{{#var: Item1}}|TechRangeMultiplier}} to {{#vardefineecho: Item1Range|{{#expr: {{#replace: {{ItemData|{{#var: Item1}}|TechRangeMultiplier}}|%|}} / 100}}}} and {{ItemData|{{#var: Item2}}|TechRangeMultiplier}} to {{#vardefineecho: Item2Range|{{#expr: {{#replace: {{ItemData|{{#var: Item2}}|TechRangeMultiplier}}|%|}} / 100}}}}.
# Convert percentages to decimals: 0.35 and 0.10.
# Subtract from 1: (1 - {{#var: Item1Range}}) = '''{{#expr: 1 - {{#var: Item1Range}}}}''' and (1 - {{#var: Item2Range}}) = '''{{#expr: 1 - {{#var: Item2Range}}}}'''.
# Subtract from 1: (1 - 0.35) = '''0.65''' and (1 - 0.10) = '''0.90'''.
# Multiply the differences: {{#expr: 1 - {{#var: Item1Range}}}} × {{#expr: 1 - {{#var: Item2Range}}}} = '''{{#vardefineecho: CombinedItemRange|{{#expr: (1 - {{#var: Item1Range}}) * (1 - {{#var: Item2Range}}) round 4}}}}'''.
# Multiply the remainders: 0.65 × 0.90 = '''0.585'''.
# Subtract from 1: 1 - {{#var: CombinedItemRange}} = '''{{#expr: 1 - {{#var: CombinedItemRange}} round 4}}'''.
# Subtract from 1: 1 - 0.585 = '''0.415'''.
# Total Ability Range bonus is '''{{#expr: (1 - {{#var: CombinedItemRange}}) * 100}}%''', not {{#expr: ({{#var: Item1Range}} + {{#var: Item2Range}}) * 100 round 1}}%.
# Total Ability Range bonus is approximately '''41.5%''', not 45%.


== Sources of Ability Range ==
== Sources of Ability Range ==
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)