Inaccurate?

Plague of Undead

(Spell Compendium, p. 158)

Necromancy [Evil]
Level: Cleric 9, Sorcerer 9, Wizard 9,
Components: V, S, M,
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Target: One or more corpses within range
Duration: Instantaneous
Saving Throw: None
Spell Resistance: No

Unleashing a cold rush of necromantic energy, you cause a host of undead to rise from the bodies of the fallen.

This spell turns the bones or bodies of dead creatures into undead skeletons (MM 225) or zombies (MM 265) with maximum hit points for their Hit Dice. If you can control them, these undead follow your spoken commands. The undead remain animated until destroyed (a destroyed skeleton or zombie can't be animated again).

Regardless of the specific numbers or kinds of undead created with this spell, you can't create more HD of undead with this spell than four times your caster level with a single casting of plague of undead.

The undead you create remain under your control indefinitely. No matter how many times you use this spell or animate dead (PH 198), however, you can control only 4 HD worth of undead creatures per caster level. The limit imposed by this spell and the animate dead spell are the same, meaning that creatures you animate with either spell count against this limit. If you exceed this number, all the newly created creatures fall under your control and any excess undead from previous castings of this spell or animate dead become uncontrolled. Any time you must release part of the undead that you control because of this spell or animate dead, you choose which undead are released until the total HD of undead you control is equal to four times your caster level.

The bones and bodies required for this spell follow the same restrictions as animate dead.

Material Component: A black sapphire worth 100 gp or several black sapphires with a total value of 100 gp.