I have a unit with an ability that launches a projectile at a location, not a target. This projectile will suicide and damage will be dealt to the first enemy it comes within range of through the use of an area search effect bound to the projectile. Since it wasn't a targeted ability, the damage dealt (and kill credit) is not linked to the caster unit. As such, any sort of life leeching I set on the damage does not come back to the casting unit (I've tried using Caster, Source, Origin, nothing works).
I have also attempted to set a variety of behaviors, searches, and validators to create a healer to heal the caster if a buff was found on both the caster (buff given at the time of launching) and any random enemy within range (buff given with the damage) but this method has failed as well.
Then I went into the triggers and found that I couldn't link any specific events or conditions to particular effects going off (like the damage effect triggering when the projectile detects an enemy). Nor could I determine whether an enemy (any enemy unit) takes damage while something like a behavior buff was on my unit (applied like above).
Does anyone have an idea for making this work? Any help would be greatly appreciated... even something that proves this can't be done would be extremely useful since it means I can give up on this and try doing something else instead.
I have a unit with an ability that launches a projectile at a location, not a target. This projectile will suicide and damage will be dealt to the first enemy it comes within range of through the use of an area search effect bound to the projectile. Since it wasn't a targeted ability, the damage dealt (and kill credit) is not linked to the caster unit. As such, any sort of life leeching I set on the damage does not come back to the casting unit (I've tried using Caster, Source, Origin, nothing works).
I have also attempted to set a variety of behaviors, searches, and validators to create a healer to heal the caster if a buff was found on both the caster (buff given at the time of launching) and any random enemy within range (buff given with the damage) but this method has failed as well.
Then I went into the triggers and found that I couldn't link any specific events or conditions to particular effects going off (like the damage effect triggering when the projectile detects an enemy). Nor could I determine whether an enemy (any enemy unit) takes damage while something like a behavior buff was on my unit (applied like above).
Does anyone have an idea for making this work? Any help would be greatly appreciated... even something that proves this can't be done would be extremely useful since it means I can give up on this and try doing something else instead.
Edit: Solved.