Developer's Blog
Register Low Fi Mark Forums Read

Reply
 
Thread Tools
Old 04-02-2010, 03:25 PM   #1
Terresquall
Member
 
Terresquall's Avatar
 
Join Date: Jun 2009
Posts: 323
Blog Entries: 2
Terresquall is offline

Default [INCONSISTENCY] Triggered Lifesteal Heals


What's the Problem?

To put it simply, triggered lifesteal effects do not heal the target accurately as these effects do not consider damage reduction effects like armor/magic resistance when calculating the amount healed, and this should be corrected.

The spells with these inconsistencies are:

Feast

The damage dealt by Feast is reduced by armor, so unless attacking a 0 armor target, Feast will not deal exactly 4/5/6/7% of the target's HP. However, regardless of the situation, Feast will heal N'aix for 4/5/6/7% of the target's HP anyway.

Currently, in part of Feast's code, the damage and the heal is coded this way:

Code:
- Heal target for percentage of target's current hit points.
- Damage target for percentage of target's current hit points.
To fix it, only 2 more lines of code need to be added:

Code:
- Save target's current hit point value as variable1
- Damage target for percentage of target's current hit points.
- Take the difference between variable1 and the target's new HP.
- Heal the attacker using the value derived from above.
Soul Steal

The new Soul Steal heals the target receiving HP for 20/40/60/80 hit points, but the amount of HP stolen from the target is reduced/increased depending on magic resistance.

To fix this, Soul Steal has to be recoded slightly to deal triggered damage instead of using the dummy to deal damage, so that the code can retrieve the damage dealt more easily. To find the amount of damage dealt, the same method as N'aix's Feast can be used.

Dismember (Aghanim's)

Aghanim's Dismember has 2 sources of damage--one from the skill's hardcoded mechanics and one through triggers (which also handles the lifesteal). What the code does is that it directly takes the dealt damage (without reduction) and adds it to the caster's HP.

The way around this would be to completely trigger the damage, then use the aforementioned method for Feast and Soul Steal to detect the heal amount.

Brain Sap

The problem with Brain Sap is not with the amount of damage it deals, but with the fact that if the target unit has less hit points than the amount of hit points sapped, it will heal the caster that same amount anyway (i.e. sapping a 150 HP target will heal the caster 300 hit points anyway). This inconsistency needs to be corrected.

Balance Issues?

I think it is only fair that these spells are coded to leech accurate amounts of health. Hardcoded lifesteal effects (e.g. Satanic, Mask of Death, Pugna's Life Drain) all have their healing effects dampened when damage is reduced (and vice versa), and they do not leech more health than the amount that the target has. It's only fair that triggered lifesteal effects do the same.

Moreover, these inconsistencies are probably things that have been overlooked by IceFrog than intended features, as IceFrog has fixed many of these inconsistencies in the past before.
  Reply With Quote
Last edited by Terresquall; 04-12-2010 at 12:19 PM.
Old 04-02-2010, 03:39 PM   #2
Quiesce
Member
 
Quiesce's Avatar
 
Join Date: Sep 2009
Location: Pennsylvania
Posts: 4,113
Blog Entries: 2
Signature of the Week Winner 
Quiesce is online now
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Tup tup tup
__________________

  Reply With Quote
Old 04-03-2010, 09:28 AM   #3
Baldoro
Member
 
Baldoro's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 992
Baldoro is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

It's a nerf .
Anyway, T-up.
__________________
My Hero - Grothorned, The Kodo Rider!
[Now with a wonderful test map by Lord of theDing!]
  Reply With Quote
Old 04-03-2010, 10:01 AM   #4
dominator02
Member
 
dominator02's Avatar
 
Join Date: Sep 2009
Location: Philippines
Posts: 8,087
dominator02 is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

__________________


  Reply With Quote
Old 04-03-2010, 12:05 PM   #5
gnaLor
Member
 
gnaLor's Avatar
 
Join Date: Jun 2009
Location: Bavaria
Posts: 834
gnaLor is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Perhaps it is a feature. By that way, Naixs heal is much stronger than without it. And it should be that strong. If you "fix" it from healing the pure % of the health, we would have to add sth. like steals 10% while only leaching 5% or so.
Well however I think youre right, but we must buff the skill then in one or another way.

Doesnt Brainsap deal pure damage? I think if damage + healed amount are both pure, its ok. Many abilities use pure damage.

Soul Steal should really work as every over lifesteal too. Its definetely codeable. For example with a dummy that is locked to soul keepers position and the dummys hp gained are periodically added to soul keepers hp, not just giving him 20/40/60/80 hp.

"I think it is only fair ..."
Pls dont use the word fair here, weretalking about balance and logic or whatever, but not about whether its fair. As long as the heroes are balanced over all its fine. If we fix a logical thing we should keep the balance, not just take it as a nerf (what it would be here) even if the hero doesnt need a nerf.
__________________

>>Items can be assembled by clicking the recipe scroll

Making shopping more comfortable.

>>Make Balanars ulti passive at night

Removing the annoying ulti spam at night.

Testmap: Meat Hook ! visual
Shows a ! above Pudge if his hook hits a hero.
  Reply With Quote
Last edited by gnaLor; 04-13-2010 at 08:47 PM.
Old 04-03-2010, 01:27 PM   #6
Zangetsu2201
Member
 
Join Date: Oct 2009
Location: Romania
Posts: 4,496
Blog Entries: 6
Zangetsu2201 is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Well, it would be nice to getall these fixed (maybe it would be too much of a nerf on N'aix, though.)

I don't think that's a feature. I'm not sure about the others, but Soul Steal shouldn't work this way, it was a coding fail...
  Reply With Quote
Old 04-04-2010, 09:26 AM   #7
Terresquall
Member
 
Terresquall's Avatar
 
Join Date: Jun 2009
Posts: 323
Blog Entries: 2
Terresquall is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Quote:
Doesnt Brainsap deal pure damage? I think if damage + healed amount are both pure, its ok. Many abilities use pure damage.
The issue I have with Brain Sap is actually different. It's that it heals for a fixed amount regardless of how much hit points the target has left. A Level 4 Brain Sap sapping a 150HP target actually heals the caster for 300 HP.
  Reply With Quote
Old 04-12-2010, 06:33 AM   #8
pokerwat
Member
 
pokerwat's Avatar
 
Join Date: Apr 2010
Location: Patin-ay Pros. Agusan del Sur, Philippines
Posts: 130
pokerwat is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

T-up
  Reply With Quote
Old 04-12-2010, 09:27 AM   #9
SN0W37
Member
 
SN0W37's Avatar
 
Join Date: Mar 2010
Location: Everywhere \:D/
Posts: 1,379
Blog Entries: 1
SN0W37 is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Quote:
Originally Posted by Zangetsu2201 View Post
I don't think that's a feature. I'm not sure about the others, but Soul Steal shouldn't work this way, it was a coding fail...[/COLOR]
I not sure what you mean by a coding failure but the proposed changed is very easy to do and is quite codable.

@Topic: T-UP, even if its a nerf I feel that all lifesteal should eb teh same whethor its triggered or hardcoded.
__________________
You can call me LEM0NS

( `-') ('-´ )
  Reply With Quote
Old 04-13-2010, 02:06 AM   #10
dreamcatcher0
Member
 
dreamcatcher0's Avatar
 
Join Date: Mar 2010
Posts: 2,136
dreamcatcher0 is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

t UP!
__________________

I came back to life once again.
  Reply With Quote
Old 04-13-2010, 05:22 AM   #11
NoThlnG
Forum Staff
 
NoThlnG's Avatar
 
Join Date: Jun 2009
Location: Nowhere
Posts: 15,188
Blog Entries: 8
Awesome 
NoThlnG is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

It's a nerf. But T-Up anyway
__________________
  Reply With Quote
Old 04-13-2010, 08:52 PM   #12
gnaLor
Member
 
gnaLor's Avatar
 
Join Date: Jun 2009
Location: Bavaria
Posts: 834
gnaLor is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Well I think the fact that brain sap heals the full amount no matter of how much hp the target left has is really sth. strong, that would be a noticeable nerf imo. Its also used for "lasthitting" creeps and healing at the same time, and you dont have to care about to lasthit the creep with exactly 300 hp atm.
I personally think that its very logical that he can sap more health. Cause when the unit dies, there still alot of dead brain there that he can absorb ^^
__________________

>>Items can be assembled by clicking the recipe scroll

Making shopping more comfortable.

>>Make Balanars ulti passive at night

Removing the annoying ulti spam at night.

Testmap: Meat Hook ! visual
Shows a ! above Pudge if his hook hits a hero.
  Reply With Quote
Old 04-25-2010, 04:57 AM   #13
Terresquall
Member
 
Terresquall's Avatar
 
Join Date: Jun 2009
Posts: 323
Blog Entries: 2
Terresquall is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Quote:
It's a nerf. But T-Up anyway
It's a nerf to keep things consistent. Affected heroes can have other aspects of them buffed to keep them as powerful.
  Reply With Quote
Old 04-25-2010, 09:34 AM   #14
fr0zenknife
Member
 
fr0zenknife's Avatar
 
Join Date: Aug 2009
Posts: 9,590
Blog Entries: 4
fr0zenknife is online now
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

nooo big nerf dont T-down
  Reply With Quote
Old 04-25-2010, 10:20 AM   #15
Sonic_Stream
Member
 
Sonic_Stream's Avatar
 
Join Date: Aug 2009
Location: Kuala Lumpur, Malaysia
Posts: 3,987
Sonic_Stream is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Yes, really t-up, make it more fair
  Reply With Quote
Old 05-23-2010, 11:01 AM   #16
Terresquall
Member
 
Terresquall's Avatar
 
Join Date: Jun 2009
Posts: 323
Blog Entries: 2
Terresquall is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Quote:
nooo big nerf dont T-down
Numbers can be tweaked. It's plain unfair to hardcoded spells like that.
  Reply With Quote
Old 05-26-2010, 04:50 PM   #17
HELLRAISER
Member
 
HELLRAISER's Avatar
 
Join Date: Jul 2009
Posts: 5,498
HELLRAISER is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

At OP. What you dont know is that IceFrog fully knew what he was doing and that the skills works as they were suppose to and their numbers are balanced around this fact. If you "fix" them, then their numbers will greatly increased to re-balance them.

T-DOWN.
__________________
Check some of my suggestions out:

Hero Idea: The Unholy Knight <---

Hero Suggestion: Hades, Lord of the Underworld
Hero Idea: Tarvallon, The Ancient Healer
Item: Cross of Isis
Item: Psyche Stone
Item: Demonic Orb
Item: Necklace of Septu <---
  Reply With Quote
Old 05-27-2010, 12:47 PM   #18
Cáno
Member
 
Cáno's Avatar
 
Join Date: Jul 2009
Location: Kraków, Poland
Posts: 4,132
Cáno is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

Quote:
Originally Posted by HELLRAISER View Post
What you dont know is that IceFrog fully knew what he was doing and that the skills works as they were suppose to and their numbers are balanced around this fact.
No. Seeing how poor is the quality of the new code I'm almost certain that Dismember and Soulsteal are effects of IceFrog's oversights.
  Reply With Quote
Old 05-27-2010, 03:02 PM   #19
Torchic Maniac
Member
 
Torchic Maniac's Avatar
 
Join Date: Jun 2009
Location: Athens, GA
Posts: 643
Blog Entries: 3
Torchic Maniac is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

T-up for everything except for Feast.
That change for Feast is too much of a nerf and I don't think it is necessary.
__________________

Suggestion Review Status: CLOSED
  Reply With Quote
Old 05-27-2010, 03:30 PM   #20
Green Yoshi
Member
 
Green Yoshi's Avatar
 
Join Date: Jun 2009
Location: Dunedin, New Zealand
Posts: 1,857
Guide Writer Award 
Green Yoshi is offline
Default Re: [INCONSISTENCY] Triggered Lifesteal Heals

These effects are not the same as lifesteal items. I see no reason to implement this, it only upsets balance - T-down
__________________
Lanaya, the Templar Assassin
The Solo Mid Guide


Quote:
Originally Posted by LEGEND OF DIV View Post
competive play is useless to balance heroes
Quote:
Originally Posted by LEGEND OF DIV View Post
Well I told you that last couple of years but as far I see nobody is deny anymore in Dota2 guess now all people realized that deny is useless
  Reply With Quote
Reply
  Defense of the Ancients Suggestions Others


Forum Jump

Thread Tools