Death Lock
(Ghostwalk, DnD 3.0)
Necromancy[Ectomancy]
Level: ; Cleric 3; Sorcerer/Wizard 4
Components: V, S
Casting Time: 1 action
Range: Close (25 ft. + 5 ft./2 levels)
Target: One creature
Duration: 10 minutes/level
Saving Throw: Will negates
Spell Resistance: Yes
If the subject creature dies while the spell is in effect, its soul immediately passes on to the True Afterlife and cannot form a ghost.
The subject can still be raised from the dead or even brought back as a ghost by magic (such as with the raise ghost spell); this spell only prevents a newly slain creature from forming a ghost of its own volition.