Chains of Unlife (3.5e Spell)
From D&D Wiki
|Necromancy [Evil, Chain Spell]|
|Components:||V, S, M|
|Casting time:||1 standard action|
|Targets:||One or more corpses touched|
This spell creates a number of HD of skeletons (of your choice) equal to the level of this spell when it was cast.
The undead can follow you, or they can remain in an area and attack any creature (or just a specific kind of creature) entering the place. They remain animated until they are destroyed. (A destroyed skeleton or zombie can’t be animated again.)
The undead you create remain under your control indefinitely. No matter how many times you use this spell, however, you can control only 4 HD worth of undead creatures per caster level. If you exceed this number, all the newly created creatures fall under your control, and any excess undead from previous castings become uncontrolled. (You choose which creatures are released.) Any undead you might command by virtue of your power to command or rebuke undead do not count toward the limit.
Material Component: A black onyx gem worth at least 25 gp per Hit Die of the skeletons created.
So if this spell was cast as a level 9 spell, it would create 9 HD of skeletons.