Energy Drain(Player's Handbook v.3.5, p. 226)
Level: Cleric 9, Sorcerer 9, Wizard 9, Sha'ir 9, Death Master 9, Dread Necromancer 9, Thirst (Sa) 9, Blightbringer 9, Hades (SpC) 9, Hunger 9, Undeath 9, Necromancy (DCS) 9, Decay (ECS) 9, Necromancer (ECS) 9,
Components: V, S,
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Effect: Ray of negative energy
Saving Throw: Fortitude partial; see text for enervation
This spell functions like enervation, except that the creature struck gains 2d4 negative levels, and the negative levels last longer.
There is no saving throw to avoid gaining the negative levels, but 24 hours after gaining them, the subject must make a Fortitude saving throw (DC = energy drain spell's save DC) for each negative level. If the save succeeds, that negative level is removed. If it fails, the negative level also goes away, but one of the subject's character levels is permanently drained.
An undead creature struck by the ray gains 2d4×5 temporary hit points for 1 hour.