PDA

View Full Version : *AddedOnKill


Vlaros
04-27-2010, 06:09 PM
I know that PowerAddedOnKill exists, but is there a way to be healed when you kill a monster with an attack? And I don't just mean lifedrain. I want it to occur only if the enemy dies due to the damage from the attack. Basically, exactly like PowerAddedOnKill, but for healing instead of mana.

I tried simply swapping out the "Power" for "Health" hoping that it existed, but it didn't seem to work. Is there a parameter or a way to do this?

Shadow
04-27-2010, 06:20 PM
Right now the only on kill type things are power and projectiles.

Vlaros
04-27-2010, 08:17 PM
Okay, good to know.

So, in theory, I could create a new projectile that only affects the player and allies, yeah? And then make that projectile heal instead of do damage. It'd actually be kinda neat to kill an enemy and have a soulstone-like projectile make its way back to the player in order to heal them. Almost like snatching up that enemy's lifeforce or something. Which actually would be much cooler than what I had planned... IF it is doable anyway.

Magitek
04-28-2010, 01:06 AM
I had wanted to do this also, but couldn't find a good solution.
In the end I went with a life stacking regen as you attacked :(

Shadow
04-28-2010, 09:50 AM
Okay, good to know.

So, in theory, I could create a new projectile that only affects the player and allies, yeah? And then make that projectile heal instead of do damage. It'd actually be kinda neat to kill an enemy and have a soulstone-like projectile make its way back to the player in order to heal them. Almost like snatching up that enemy's lifeforce or something. Which actually would be much cooler than what I had planned... IF it is doable anyway.

If you want to try to use the projectile thing you can look at SkillShatter as an example.