I'm using the damage engine
http://www.hiveworkshop.com/forums/spells-569/gui-damage-engine-v3-5-4-1-a-201016/
I have a spell that spawns fire on the ground. These little fire spawn have permanent immolation. I use the damage detection to cast lightning shield on enemies burnt. Burnt enemies with lightning shield can burn other units and spread the fire.
If a unit dies with lightning shield by lightning shield, the caster is the killing unit. However the problem is that the source of damage from lightning shield is the unit with the buff and not the caster of lightning shield.
I need either:
A way to detect the damage source from the caster
or
Detect owner of the buff
or
A triggered lightning shield that saves the casting unit
http://www.hiveworkshop.com/forums/spells-569/gui-damage-engine-v3-5-4-1-a-201016/
I have a spell that spawns fire on the ground. These little fire spawn have permanent immolation. I use the damage detection to cast lightning shield on enemies burnt. Burnt enemies with lightning shield can burn other units and spread the fire.
If a unit dies with lightning shield by lightning shield, the caster is the killing unit. However the problem is that the source of damage from lightning shield is the unit with the buff and not the caster of lightning shield.
I need either:
A way to detect the damage source from the caster
or
Detect owner of the buff
or
A triggered lightning shield that saves the casting unit