Create Greater Undead

Create Greater Undead
Necromancy [evil]
None
SR: No
V, S, M
1 hour, instantaneous, close
This spell functions like Create Undead, except that you can create more powerful and intelligent sorts of undead: shadows, wraiths, spectres, and devourers. The type or types of undead you can create are based on your caster level, as shown on the table here.
You may create less powerful undead than your level would allow if you choose. Created undead are not automatically under the control of their animator. If you are capable of commanding undead, you may attempt to command the undead creature as it forms.
This spell must be cast at night.

Target: one corpse
Professions
Arcanist [8], Cleric [8], Oracle [8], Shaman [8], Sorcerer [8], Warpriest [8], Wizard [8].

Material Components
A clay pot filled with grave dirt and an onyx gem worth at least 50 gp per HD of the undead to be created.
Related School
Necromancy [evil]
Effect Duration
Instantaneous
Effect Casting Time
1 standard action
Range
Close (25 ft. + 5 ft./2 levels)
Legality
Illegal