Item life transfer

Level 3
Nov 12, 2007
Good day kind gentlemen. I'm trying to make an item with chance on hit transfer * life from target to owner of item.First I used melee lightning damage bonus that casts 0.1 second life drain, it worked how it's supposed but crashed the map after several seconds.Then i thouth of placing buff and using triggers that detect the buff, damage the target and heal the owner of item but I can't /i'm such a noob/ so pls help.