Leech: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Illviljan
>Illviljan
(No difference)

Revision as of 20:26, 30 July 2015

"Life Leech" redirects here. For the support gem, see Life Leech (support gem). For the passive skill, see Life Leech (passive skill).
"Mana Leech" redirects here. For the support gem, see Mana Leech (support gem).

Life leech restores over time an amount of life relative to damage inflicted on an enemy. Likewise, mana leech restores mana in the same way.

Pre-Awakening Mechanics

The total amount of life or mana leeched is a percentage of the damage inflicted and is restored over time. This is different from gaining life or mana on hit, which restores a certain amount instantly.

Recovery rate

The leech recovery rate r is given by

r = p * q

where p is the character's maximum life (for life leech) or mana (for mana leech), and q is the recovery rate factor including any modifiers.

Life leech has a fixed recovery rate equal to 20% of the character's maximum life per second.[1] Similarly, mana leech has a fixed recovery rate equal to 20% of the character's maximum mana per second.[2]

The leech recovery rate factor, q, is therefore 0.2 for life and mana. There are only a couple of ways for this factor to be altered:[1]

  • The of Smothering modifier for maps slows life and mana leech recovery rate by 50%.
  • For life leech by a skill supported by the Module Error: No skills found with q_where = skill.active_skill_name="Life Leech" gem, the recovery rate is increased by 1% for each point of quality.
  • Vorici's master modifier also offers increased life leech rate.

Example

If the character has 1,000 maximum life and leeches life with the default recovery rate factor of 0.2, that life leech will always restore 200 life per second.

p = 1000
q = 0.2
r = 1000 * 0.2 = 200

Recovery duration

The leech recovery duration in seconds t is given by

t = l / r

where l is the total leech amount, and r is the recovery rate.

Example

If the character has 1,000 maximum life and lands a single hit that would leech a total of 600 life with the default recovery rate factor of 0.2, it would take 3.0 seconds for that amount of life to be restored.

3.0 = 600 / (1000 * 0.2)

Example with successive single hits

Assume the character has 1,000 maximum life and lands a single hit that would leech a total of 300 life with the default recovery rate factor, then after 0.5 seconds the character lands a single hit that would leech a total of 600 life.

Using the formula for recovery duration, the first leech effect would last 1.5 seconds, and the second would last 3.0 seconds. The second leech effect starts 0.5 seconds after the first, so the total duration that any leech recovery would take place is 3.5 seconds. Both of these leech effects have the same recovery rate of 200 life restored per second, which means neither leech effect takes precedence over the other. Because only one leech effect can restore life at any given moment, a total of 700 life is restored over 3.5 seconds.

3.5 * 200 = 700

Example with an area of effect hit

Assume the character has 1,000 maximum life and lands an area of effect hit that would leech a total of 600 life with the default recovery rate factor, and that four enemies are hit simultaneously.

Using the formula for recovery duration, each leech effect would last 3.0 seconds. All four leech effects are applied at the same time, so the total recovery duration is 3.0 seconds. Therefore, 600 life is restored over 3.0 seconds.

3.0 * 200 = 600

This demonstrates that the total amount of leech recovery is not affected by the number of enemies hit.

Example with differing recovery rates

Assume the character has 1,000 maximum life and lands a single hit that would leech a total of 800 life with the default recovery rate factor. After 1.0 second the character uses a skill supported by a quality Life Leech gem and lands a single hit that would leech a total of 400 life with a recovery rate factor of 0.24. Using the formula for recovery duration, the first leech effect would last 4.0 seconds, and the second would last around 1.7 seconds. The second leech effect starts 1.0 second after the first, and ends before the first ends. The total duration that any leech recovery would take place is 4.0 seconds, however the second leech effect has a higher recovery rate and therefore takes precedence during its duration over the first leech effect. As a result, 200 life is restored over 1.0 second, followed by 408 life over 1.7 seconds, and finally 260 life over 1.3 seconds for a grand total of 868 life over 4.0 seconds.

(1.0 * 200) + (1.7 * 240) + (1.3 * 200) = 200 + 408 + 260 = 868

Leech mechanics in The Awakening

The total amount of life or mana leeched is a percentage of the damage inflicted and is restored over time.

HP(t) = r * t

where r is the leech recovery rate and t is the time. The life leech recovery rate varies depending on how many enemies have been hit and how many times the enemies have been hit. [3]

Recovery rate

The leech recovery rate r is given by

r = n * p * q * (1 + m)

where n is the number of active leech instances, p is the character's maximum life (for life leech) or mana (for mana leech), q is the Base Leech Rate and m is the sum of all the " % increased (or reduced) Life/Mana Leeched per second" modifiers.

There is a upper limit of the leech recovery rate which is defined as

rmax = p * (qmax + mmax)

where qmax is the Base Maximum Leech Rate and mmax is the sum of all the "% of maximum Life/Mana per second to maximum Life/Mana Leech rate" modifiers. If r > rmax those values will be substituted with rmax. The upper limit can be reached by hitting at least 1/qmax enemies at once or hitting 1 enemy quick enough that so many leech instances are active at the same time.

The table below displays values of the base leech rates.[4]

Symbol Value Description Unit
q 2 %
2 %
Base Life Leech Rate
Base Mana Leech Rate
s-1
s-1
qmax 20 %
20 %
Base Maximum Life Leech Rate
Base Maximum Mana Leech Rate
s-1
s-1

Recovery rate modifiers

Modifiers that alters the leech recovery rate are called "X% increased (or reduced) Life/Mana Leeched per second", this increases the value of Life/Mana you're gaining per second for each leech effect. However, it does not affect the duration, tmax, of the leech effects, meaning that more total life/mana will be gained from each leech instance as a result.[4]

There are only a couple of ways for these factors to be altered, besides the passive tree:[1][4]

  • The of Smothering modifier for maps slows life and mana leech recovery rate by 50%.
  • For life leech by a skill supported by the Module Error: No skills found with q_where = skill.active_skill_name="Life Leech" gem.
  • Vorici's master modifier also offers "X% increased Life Leeched per second".

Leech duration

The leech recovery duration in seconds is given by

tmax = d * l / (n * p * q)

where d is the damage inflicted on the enemy, l is the total amount of leech.

Examples

When using skills such as Module Error: Too many skills found with q_where = skill.active_skill_name="Dual Strike". Please choose only one of the following ids:
AzmeriDualStrikeDemonDualStrike - N/A (page)
DualStrikeRoyale - (50-77)% increased Critical Strike Chance, +(0-0.1) metres to Melee Strike Range, 100% more Critical Strike Chance against Enemies that are on Full Life, +30% more Damage with Hits and Ailments against Enemies that are on Full Life (page)
linked with Module Error: No skills found with q_where = skill.active_skill_name="Melee Splash" several enemies are hit at once, the leech rate will vary considerably depending on how many enemies are hit. The character used in the example has the following stats:

p = 5000 maximum life
d = 1000 damage to enemy
l = 2 % life leech

The total amount of life leeched the character will get with those stats are:

d * l = 1000 * 0.02 = 20 HP

1 Enemy hit

n = 1 leech instances/Enemies

The recovery rate is:

r = n * p * q = 1 * 5000 * 0.02 = 100 HP/sec

Make sure that the recovery rate doesn't exceed the maximum recovery rate which is

rmax = p * qmax = 5000 * 0.2 = 1000 HP/sec

The limit has not been exceeded, meaning that no substitution is necessary.

The time it takes to recover the total amount of life leeched is

tmax = d * l / (n * p * q) = 1000 * 0.02 / (1 * 5000 * 0.02) = 0.2 seconds

5 enemies hit at once

n = 5 leech instances/Enemies

The recovery rate is:

r = n * p * q = 5 * 5000 * 0.02 = 500 HP/sec

The limit has not been exceeded with this many enemies hit at once, meaning that no substitution is necessary.

The time it takes to recover the total amount of life leeched is

tmax = d * l / (n * p * q) = 1000 * 0.02 / (5 * 5000 * 0.02) = 0.04 seconds

11 enemies hit at once

n = 11 leech instances/Enemies

The recovery rate is:

r = n * p * q = 11 * 5000 * 0.02 = 1100 HP/sec

The limit has been exceeded, therefore the recovery rate needs to be changed to r = 1000 HP/sec.

The time it takes to recover the total amount of life leeched is

tmax = d * l / (n * p * q) = 1000 * 0.02 / (11 * 5000 * 0.02) = 0.02 seconds

Sources of leech

Sources of leech include support gems, passive skills, and modifiers on equipment.

  • Module Error: No skills found with q_where = skill.active_skill_name="Life Leech"
  • Module Error: No skills found with q_where = skill.active_skill_name="Mana Leech"

Template:Passive table

Template:Passive table

These keystone passive are related, but don't add any life leech as a percentage of physical damage.

The Vaal Pact Keystone will allow life leech to apply immediately at the cost of losing life regeneration. Ghost Reaver applies life leech to energy shield instead of life.

Template:Passive table

Immunity to leech

A player can become immune to being life leeched from by enemies through allocating the Bloodless notable passive skill.

Immunity can also be achieved by equipping certain unique items.

Lua error in Module:Item_table at line 1971: bad argument #2 to 'format' (string expected, got nil).

References

  1. 1.0 1.1 1.2 Mark_GGG (March 4, 2014). "Leech: GGG clarify please!". Official Path of Exile Forums. Retrieved March 6, 2014.
  2. Malice (November 13, 2011). "Mechanics Thread". Path of Exile Forum. Retrieved March 8, 2014.
  3. GGG_Mark (June 20, 2015). "Vitality Void: Leech Cluster Thread". Path of Exile subreddit. Retrieved July 20, 2015.
  4. 4.0 4.1 4.2 GGG_Neon (May 18, 2015). "Upcoming changes to Leech Thread". Path of Exile Forum. Retrieved July 20, 2015.