Am I calculating life leech correctly?

I leech 6% from physical damage. My tool tip says 5500dps before any elemental damage. My life is at 3400.

So I would take 6% of 5500dps which is 330 and divide it by 20% of my life, and that is the life leech in seconds?

330/680=0.48secs

So does that mean I get healed about 660 life in 1 second?
IGN- HeartUnderBladeShinobu

My shop http://www.pathofexile.com/forum/view-thread/1000958
Standard Shop http://www.pathofexile.com/forum/view-thread/499992
That doesn't sound right. Let's take a look.

EDIT: tl;dr just think of 20% as a cap like everyone tells you not to. It's not technically correct, but it's practically correct.

20% of your maximum Life per second is the rate/speed at which life leech occurs. This is true regardless of what amount of Life Leech you have (if you had, say, 999% of attack damage leeched as life, this would still be true). This can only be changed by a quality bonus on a Life Leech gem.

Your 6% life leech is the amount of Life that happens.

If 6% of 5500 dps is 330, then the amount of leech you have per second per enemy is 330.

The formula 330/680 = 0.48 seconds is somewhat meaningless. If you had 5500 average damage per hit, then that would tell you the duration for which your leeching effect lasts per hit, but since 5500 is damage per second and not per hit, it's... kinda meaningless, yeah.

Suppose you are fighting one enemy. That means that the highest leech per second you can possibly have is 330. You constantly attack and recover 330 life per second.

Suppose you are hitting three enemies with the same skill. That means the amount that you leech per second is 990. However, this occurs at the rate of 680 life per second. In effect, if you attack for precisely one second for a number of times divisible by your attack speed (i.e. exactly 1 attack per 1 second, 2 attacks per 1 second, 3 attacks per 1 second, etc - your tooltip 'attack time' must be 1, 0.5, 0.33, 0.25, etc.), then you will leech 990 life over 990/680 = 1.456 seconds.
Need game info? Check out the Wiki at: https://www.poewiki.net/

Contact support@grindinggear.com for account issues. Check out How to Report Bugs + Post Images at: https://www.pathofexile.com/forum/view-thread/18347
Last edited by adghar#1824 on Dec 5, 2013, 7:02:56 PM
Calculating Leech based on Damage Per Second is wrong whichever way. Leech is based on Damage Dealt, not Damage per Second.
"
Vipermagi wrote:
Calculating Leech based on Damage Per Second is wrong whichever way. Leech is based on Damage Dealt, not Damage per Second.


Are you 100% sure about this? It sounds as though you've mixed up Leech with some other mechanic.

Consider:

You leech 5% of damage.

You deal 100 damage per hit.

You deal 3 hits per second, exactly.

In the time span of one second, you'll have dealt 300 damage.

That's 5 damage, three times, for a total of 15 as your amount leeched.

Mathematically: 0.05 * 100 * 3 = 0.05 * 300 = 15

We can also represent this algebraically:

x = leech %
d = average damage per hit
a = average attacks per second

Leech amount = x*(d*a) = xda = x(da)

Since, semantically, a "hit" and an "attack" is pretty much the same thing, you get da = damage per second.

Leech amount = x*(DPS)

EDIT: Oh yes, now I remember! I saw you make the statement before, Vipermagi, and it made me wonder why you would say such a thing. Here's one of the conjectures I came up with before:

When considering Mana Leech, you must calculate using the same units, just like how you had to convert between cm and inches in math class. Thus, if you use DPS to determine Leech per second, you must also calculate mana cost per second. If, instead, you're using mana cost per skill use, then you have to calculate amount of Mana Leeched per hit. Accounting, of course, for the possibility of area spells which can hit one enemy or multiple enemies per skill use.



Need game info? Check out the Wiki at: https://www.poewiki.net/

Contact support@grindinggear.com for account issues. Check out How to Report Bugs + Post Images at: https://www.pathofexile.com/forum/view-thread/18347
Last edited by adghar#1824 on Dec 6, 2013, 7:32:59 AM
It's due to rounding. If you deal 1000 Damage per Second and have 1% Leech, you can still Leech absolutely nothing, even though 1% of 1000 DPS would surely be 10 Life per second.

If your Damage per Hit is below 100, you cannot Leech with 1% Leech. Leech rounds down, as always.


You can multiply your Leech per Hit (Damage per Hit * Leech) by your Attacks per Second to get a rough Leech per Second value, that's fine... As long as Leech per Hit is rounded down.
Simply multiplying your Damage per Second by your Leech-percent will get you an incorrect value due to skipping one step of rounding.
Last edited by Vipermagi#0984 on Dec 6, 2013, 11:46:22 AM

Report Forum Post

Report Account:

Report Type

Additional Info