[Trigger] On-Kill Healing

Status
Not open for further replies.
Level 2
Joined
Dec 27, 2009
Messages
11
Hello!

I skimmed through the boards looking for similiar problems, didn't find any - please don't crucify me if I accidently commited redundant thread. :C

I'm having a problem with a trigger, as you probably figured out already. The ability I use it with is WiP named "Blood Rites". It primary effect is to give the owner some health regen boost, which of course works when based upon Unholy Aura or Healing Fountain (with a dummy ability for icon).

The secondary, trigger-needing component of this skill, is where WE knocks me out. I'd like that the owner of Blood Rites get 2/3/4/5% of his total health worth of healing. The condition and action of this trigger are, respectively:

(Level of Blood Rites for (Triggering unit)) Equal or Even to 1;

Unit - Set life of CWR (my variable) to ((Life of CWR) + ((0.01 x (Max Life of CWR)) x (1.00 + (Real((Level of Blood Rites for CWR))))))

I think I got it right. The problem for me seems to be event. I used "A unit dies" as it and I thought the killer could be recognized as "triggering unit", but my bloodthirsty troll won't get healthier from all his bloodshed. This ability is passive, so "A unit begins casting a spell" is also out of the question.

I'll appreciate all help you can muster. :wink:

Best regards,
Genn
 
Level 22
Joined
Sep 24, 2005
Messages
4,821
I think the triggering unit is the dying unit since it is a dying event. I'm guessing that you need the Killing unit for that.
 
Level 2
Joined
Dec 27, 2009
Messages
11
... THRALL'S BALLS!

I mean, I have myopia, but this... this is the new low for me. :goblin_cry:

Of course it's the Killing Unit, I just didn't see it when I was looking for... well... it.

Thank you very much, chobibo, for pointing this out to me.

Please close this thread and make it a foundation of my new, pristine Wall of Short-Sightness.

Best Regards,
Genn.
 
Status
Not open for further replies.
Top