HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is there a way to invert the amount of damage taken by a unit?

04-16-2009, 10:59 AM#1
Matarael
I keep getting this thought that by manipulating the values of some abilities into the negatives we can not only set any damage taken by a unit to 0, but to actually give it negative value, in effect healing the unit being attacked.

Is this possible?
04-16-2009, 11:05 AM#2
Tide-Arc Ephemera
I haven't tried this, but have you tried Hardened Skin with -1.00 and set to percentages with a negative damage cap?
04-16-2009, 12:06 PM#3
Pyrogasm
I believe that I've seen this done, but I can't remember where or how. I'd try with a -200% command aura or something, though that would look weird on the command card. Perhaps cripple with a -200% bonus?
04-16-2009, 12:11 PM#4
Tide-Arc Ephemera
Taken, not dealt.
04-16-2009, 12:51 PM#5
Anachron
Damage detection system and then
newlives = GetUnitState(GetTriggeringUnit(), UNIT_STATE_LIFE) +
(GetEventDamage() * 2)
call SetUnitState(GetTriggerUnit, UNIT_STATE_LIFE, newlives)

I think its pretty easy understandable.
Dunno if its possible without a dd system.
04-16-2009, 07:41 PM#6
Pyrogasm
I know what he wanted, Tide, but that would still accomplish the same thing. Well, it would if you wanted every unit on the map to behave like that, so it's likely not the soultion he wants anyway.
04-16-2009, 07:53 PM#7
Rising_Dusk
Quote:
Originally Posted by Matareal
I keep getting this thought that by manipulating the values of some abilities into the negatives we can not only set any damage taken by a unit to 0, but to actually give it negative value, in effect healing the unit being attacked.
This can be done if you use the base ability 'Berserk' with a negative percent increased damage. It actually 'heals' roughly 50% of the percent you put into the field. It is really not worth the effort, though, any good damage detection system with a nice DamageModifier library can do it all without any OE complications.
04-16-2009, 10:16 PM#8
Vexorian
Odd though, I thought "It is not worth doing damage detection for this as the OE can do it"
04-16-2009, 10:32 PM#9
Captain Griffen
Quote:
Originally Posted by Rising_Dusk
This can be done if you use the base ability 'Berserk' with a negative percent increased damage. It actually 'heals' roughly 50% of the percent you put into the field. It is really not worth the effort, though, any good damage detection system with a nice DamageModifier library can do it all without any OE complications.

Any negative value just causes it not to take any damage, unless Blizzard has changed that behaviour in a recent patch? (Read 'last two years' for 'recent'.)
04-16-2009, 11:00 PM#10
Vexorian
I have used negative berserk and it seemed to work two years ago.
04-17-2009, 06:42 AM#11
Tide-Arc Ephemera
Quote:
Originally Posted by Rising_Dusk
This can be done if you use the base ability 'Berserk' with a negative percent increased damage. It actually 'heals' roughly 50% of the percent you put into the field. It is really not worth the effort, though, any good damage detection system with a nice DamageModifier library can do it all without any OE complications.
As far as I know, anything below 0 reduces damage to 0, nothing more, nothing less... or at least that's what happened every time I tested it with negatives.
04-19-2009, 07:28 PM#12
Matarael
Hmm so it's not possible. I know that damage detecting systems will achieve this, I was just more curious about this really.

Thanks for the replies, guys.
04-19-2009, 08:48 PM#13
Feroc1ty
Quote:
Originally Posted by Matarael
Hmm so it's not possible. I know that damage detecting systems will achieve this, I was just more curious about this really.

Thanks for the replies, guys.

Did you simply ignore what vex and rising dusk just said?