First off, has this been done before? If someone knows, reply and it will save some work.
Second off, if this hasn't been done before, what do you think of this spell? I need a spell level for it if it sounds okay. Really, I'm picturing that it could be almost any spell level and it would make sense.
Level: Clr ?
Components: V, S
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Effect: Ray of negative energy
Saving Throw: None
Spell Resistance: Yes
Cackling with vengeful mirth, you point at the victim of your rage as wounds appear on your body. A ray of shadowy energy shoots from your fingertips to strike your target, who sprouts wounds identical to your own.
When you cast this spell, pay any amount of hit points. No effect can reduce or negate the loss of the expended hit points. On a successful ranged touch attack, the target takes an amount of damage equal to the amount of hit points that you spent.