First - your main problem is that you did "create unit for owner of CASTING unit" , there is not casting unit here, thus it should be "owner of triggering/dying unit".
Now just a suggestion - you should use "triggering unit" if you can, it bugs less.
And a question , why do you do "null" to the points ? (dunno what that does, but I guess null = totaly destroy ?).