Awaken Undead(Spell Compendium, p. 21)
Level: Sorcerer 7, Wizard 7, Deathbound 6,
Components: V, S, M, XP,
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Target: All mindless undead within a circle with a radius of 25 ft. + 5 ft./2 levels
Saving Throw: None (harmless)
Spell Resistance: Yes (harmless)
Whispering secret words to the undead before you, you call forth a glimmer of intelligence in its dead eyes.
This spell grants intelligence to mindless undead such as skeletons and zombies. Undead creatures with Intelligence scores are unaffected. A mindless undead gains an Intelligence score of 1d6+4, subject to the limitation that an undead cannot be more intelligent than is typical of a living creature of the same kind. A dog skeleton simply has Intelligence 2 (no roll needed), while an orc skeleton makes the die roll but can't have more than Intelligence 8. (See MM 290 for information on skills and feats the creature gains.)
Undead regain the armor and weapon proficiencies they had in life (assume the undead were formerly warriors unless the DM specifies otherwise) and will don armor and take up weapons while obeying your commands. A zombie fighter can wear any armor and wield any simple or martial weapon, and a warhorse zombie can wear any armor.
Undead also regain any extraordinary racial abilities they had in life, such as poison or scent.
Awakened undead gain a +2 profane bonus on their Will saving throws to resist control undead. Awakened undead also gain +2 turn resistance (or retain their own turn resistance, if any, and if it is better than +2).
Material Component: A humanoid finger bone.
XP Cost: 250 XP.