Vanilla Animate Dead

Animate Dead
(Necromancy)

Level: 5
Range: 30 ft.
Duration: 8 hours
Casting Time: 9
Area of Effect: Special
Saving Throw: None

This spell causes a skeleton warrior to rise and serve the caster under any conditions. The type of skeleton warrior that appears depends upon the level of the wizard casting the spell.
1st – 6th: a 3 HD skeleton warrior wielding a long sword.
7th – 10th: a 5 HD skeleton warrior wielding a long sword +1.
11th – 14th: a 7 HD skeleton warrior wielding a bastard sword +1.
15th and up: a 9 HD skeleton warrior wielding a two-handed sword +1.
The skeleton warrior can follow the caster, remain in an area and attack any creature entering the place, etc. It remains animated until it is destroyed in combat, 8 hours pass, or it is turned. This spell cannot be dispelled.