Life leech alternatives
Moderator: Nizari
Life leech alternatives
Hi all,
I find that lifesteal is pretty OP (because damage scales faster than hp)
I'd like to make lifesteal not to be instant (like a purple rejuvenation potion), but rather gradual (like a health potion).
if not maybe life leech % = % of current HP per hit, would also be an acceptable change. Ideas?
Or else can we make it life per hit? (a constant gain of eg. 20 life gained per successful hit on an enemy?)
Any ideas?
I find that lifesteal is pretty OP (because damage scales faster than hp)
I'd like to make lifesteal not to be instant (like a purple rejuvenation potion), but rather gradual (like a health potion).
if not maybe life leech % = % of current HP per hit, would also be an acceptable change. Ideas?
Or else can we make it life per hit? (a constant gain of eg. 20 life gained per successful hit on an enemy?)
Any ideas?
Last edited by Hodor on Sat Sep 02, 2017 11:44 am, edited 1 time in total.
Re: Life leech alternatives
Hi there
things that come to mind are:
Life after HIT
Life after Kill
Life on Hit (like if you get hit, you receive a certain amount of HP)
Lifesteal % damage (you could cap this at 10%?)
Lifesteal % total character damage
Liferegen - Higher base regen, but no other methods to recoup lost life
:-)
things that come to mind are:
Life after HIT
Life after Kill
Life on Hit (like if you get hit, you receive a certain amount of HP)
Lifesteal % damage (you could cap this at 10%?)
Lifesteal % total character damage
Liferegen - Higher base regen, but no other methods to recoup lost life
:-)
only 2 things are infinite - the universe and human stupidity ... although i'm not sure yet about the universe (c) Albert Einstein
http://miyoshino.la.coocan.jp/eswiki/?p ... hot051.jpg (WOW)
http://miyoshino.la.coocan.jp/eswiki/?p ... hot051.jpg (WOW)
Re: Life leech alternatives
Anyone know how to make life leech work gradually like a health potion?
or make it a % of hp instead of damage dealt?
or make it a % of hp instead of damage dealt?
Re: Life leech alternatives
Not sure how to do the life leech over time dealie unfortunately, and given how that would work, it would probably require changing some basic hard coded functions and adding new properties which don't currently exist. I could be wrong, of course. =P
In the meantime, if you can find where the formula for the lifesteal damage % is though, it should actually be quite easy to make it a % of your max HP. All you should need to do is to change it from
Lifesteal = (damage*(lifesteal%)) / 100
To
Lifesteal = (maxhp*(lifesteal%)) / 100
You'd need to swap the property to "hp" for max health specifically though. I just used maxhp in the formula for ease of understanding it. Also, lifesteal % is literally just "lifesteal" as the property without the %, so same dealie there.
Anyway, I have no idea where lifesteal is written into the game, but assuming you can find it, it probably has a very similar formula to that given how the rest of the formulas are written, and you should be able to just make that small switch to fix it to do what you want. It'd just be a matter of tracking down where the formula's located is all at that point.
In the meantime, if you can find where the formula for the lifesteal damage % is though, it should actually be quite easy to make it a % of your max HP. All you should need to do is to change it from
Lifesteal = (damage*(lifesteal%)) / 100
To
Lifesteal = (maxhp*(lifesteal%)) / 100
You'd need to swap the property to "hp" for max health specifically though. I just used maxhp in the formula for ease of understanding it. Also, lifesteal % is literally just "lifesteal" as the property without the %, so same dealie there.
Anyway, I have no idea where lifesteal is written into the game, but assuming you can find it, it probably has a very similar formula to that given how the rest of the formulas are written, and you should be able to just make that small switch to fix it to do what you want. It'd just be a matter of tracking down where the formula's located is all at that point.
Re: Life leech alternatives
Any idea where to find this formula? I tried Properties.txt but no luck
Re: Life leech alternatives
It would be inside d2client most likely, which you'll have to edit in assembly.
Re: Life leech alternatives
Thank you, do you know where I can find the program?