Create Soul Gem

Necromancy [death, evil]
Level: Artificer * 3, Cleric */Oracle * 3, Shaman * 3, Sorcerer */Wizard * 3, Warlock * 3
Components: V, S, F (crystal lens worth 500 gp)
Casting Time: 1 round
Range: close (25 ft. + 5 ft./2 levels)
Target: one dying or recently dead creature
Duration: 1 day/level
Saving Throw: Will negates
Spell Resistance: yes
  You draw forth the ebbing life force of a Dying creature or one that has died in the past round, focusing it through a crystal lens focus to transform into a soul gem. If the creature is alive and fails its saving throw, it dies and you capture its soul in the gem. If the creature is Dead, it can still resist the spell effect by attempting a Will Save as if it were still alive. The value of the soul gem created depends on the nature of the creature it is made from (see page 191). Soul gems created by this spell crumble to dust once the spell's duration expires, releasing the trapped soul to travel on to judgment in the Great Beyond. Only one soul gem can be created from a Dying creature. Any attempt to resurrect a body whose soul is trapped in a soul gem requires a caster check against create soul gem's save DC. Failure results in the resurrection spell having no effect, while success shatters the target's soul gem and returns the creature to life as normal. If the soul gem resides in an unholy location, such as that created by the unhallow spell, the DC of this check increases by 2. If you are a souldrinker (see page 212), you can cast this spell and expend 5 soul points to fill the gem with the equivalent of one basic soul.