[Trigger] Corpse Absorption

Status
Not open for further replies.
Level 10
Joined
Jun 10, 2007
Messages
554
I'm making a bunch of heroes for fun, which will be bundled into a pack and may be released. But anyway, to the point.

One of these heroes has a spell, "Absorption", that, when walking over a corpse, restores health equal to 10*Spell level, destroying the corpse in the process.

I have absolutely no idea how to code this, it seems what I think is needed doesn't exist (Generic unit comes within X range of generic unit), so I turn to you, THW. Of course rep will be given as payment.
 
ghouls has a skill that consume the corpse to regain hp.. u can just make the datas 0 and make the duration to 1, then trigger the rest:
-everytime the hero use that skill restore the amount of hp equal to 10 * spell lv.
 
Thats an active skill making passive is better with Jass i think. making it wit GUI is very messy.

Its true that dead corpse is a unit, but each diff corpse is a diff unit they are not the same so thats y its hard.
 
Status
Not open for further replies.
Back
Top