| 04-07-2007, 08:20 PM | #1 |
Is it possible to steadily drain the health of a unit using a trigger? Like, during the Scourge invasion of Dalaran campaign chapter you get your units health steadily decreasing. Another example would be, for those that have played the Warhammer 40k Dark Crusade game, the Bloodthirster's health steadily decreases if hes not in combat. Is this a feat requiring a dummy unit being created when a unit is not in combat, add Death and Decay or sylvanas' health drain to it and order it to do it on the unit thats not in combat?...But then the animation would show, how do I hide it if thats the case. Dumb question...but yea... |
| 04-07-2007, 08:55 PM | #2 |
Damage the unit on a periodic event. Or use a periodic timer. |
| 04-08-2007, 02:22 AM | #3 |
Every 1 second Pick every unit in (Playable Map Area) and do Set health of (picked unit) equal to ((Health of (Picked unit) - 20) |
| 04-08-2007, 02:55 AM | #4 |
Or you could create a new ability based off of "Life regen aura" and cause it to give negative regen. Or permanent immolation inside a disabled spellbook that only damages self Or (if you want a buff) order a dummy unit to cast a modified Unholy Frenzy that has an infinite duration on your unit whenever it needs to begin draining life, and then remove the buff whenever the draining needs to be stopped. Or, if you want numbers to show up, use Shadow strike with the above method. As you can see, there are a ton of ways to do this. Also keep in mind that a unit's life is a real value, not an integer. As such, you can reduce its life by 0.05 if need be, etc. |
| 04-09-2007, 01:02 AM | #5 |
Or a dummy with perm immo effecting everything and with 99999 aoe :O I prefer triggers over dummy abilities, its easier. |
| 04-09-2007, 02:12 AM | #6 |
uhh, or just set it's hp regen to a negative value? |
| 04-09-2007, 04:03 AM | #7 |
And then you could make it so that whenever it is and does attack/ed (an enemy unit) and when it takes damage (specific unit even), it gets +HP. |
| 04-09-2007, 04:25 AM | #8 |
...? |
| 04-09-2007, 12:18 PM | #9 |
Negative life regeneration does not give kill credit. Trigger the damage or use something like parasite. |
| 04-09-2007, 12:51 PM | #10 |
you could..make a life regeneration aura only effecting self, with negative values, and no icon.. then when he attacks or gets attacked you take the ability away, then he he enters combat remove the ability? |
| 04-14-2007, 12:52 AM | #11 |
Thanks, people. I think i have an idea now what to do. I'd do negative health regeneration and add vampiric aura to the unit then try to balance them out. :) P.s. setting unit's hp regen does not work it auto goes back to 0 |
| 04-14-2007, 12:59 AM | #12 |
Hold shift before clicking the field to modify. Or click the "Allow negative real values in the object editor" field in your preferences. |
| 04-14-2007, 01:04 AM | #13 |
Wow that was quick response. Thanks Pyrogasm. I never knew that. Rep. |
| 04-14-2007, 01:04 AM | #14 |
Aye, no problem. |
