Energy Ebb

Necromancy [Evil]
: Cleric 7, sorcerer/wizard 7
Components: V, S
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Effect: Ray
Duration: 1 round/level
Saving Throw: Fortitude partial; see text
Spell Resistance: Yes

You point your finger and utter the incantation, releasing a black needle of crackling negative energy that suppresses the life force of any living creature it strikes.

This spell functions like enervation, except the creature struck gains negative levels over an extended period.

You must succeed on a ranged touch attack with the ray to strike a target. If the attack succeeds, the subject initially gains one negative level, then continues to gain another negative level each round thereafter as its life force slowly bleeds away. The drain can be stopped only by a successful DC 23 Heal check or the application of a heal, restoration, or greater restoration spell.
Each round after the first, on your turn, the affected creature can attempt a Fortitude saving throw to end the effect.
If you strike an undead creature, that creature gains 4d4×5 temporary hit points that last for up to 1 hour.