You use time and energy to bind a soul to a crystal and use it to control a reanimated creature. You choose a undead creature of CR equal to or less than 1/4th of your wizard level (rounded up) to create as an undead servant bound to the gem used as component to this spell. During the ritual, you fabricate a body for the soul to control (if it requires one) and then you sacrifice a restrained or unconscious living humanoid to imbue the gem with power. The value of the gem must be equal to or greater than 250x(The CR of the undead to forge)gp.
The spell can also be cast using a forged undead instead of the humanoid sacrifice. If the CR of the forged undead is equal to or lower than the CR of the undead you are attempting to create, you may also ignore the gem cost for this casting of the ritual.
Undead creatures created this way have their intelligence and charisma scores lowered to 3, and their wisdom score is lowered to 8. If the forged undead has features allowing it to summon or create additional creatures, it cannot use those features. When forging the undead, you choose to alter it to better suit your designs. Choose one of the following features for the undead to gain, if the corpses used for the ritual include that of a legendary creature, you may choose another different feature to infuse the undead with:
- The forged undead keeps its original intelligence, wisdom and charisma scores.
- The forged undead gains climbing speed equal to its walking speed.
- The forged undead regains 1hp per minute as long as it is above 0hp.
- The forged undead gains resistance to a damage type or loses a vulnerability.
- The forged undead gains a +2 bonus to 1 of its ability scores.
- If the forged undead is destroyed, the corresponding gem only has a 10% chance of being destroyed.
The forged undead can be infused with features not listed here, at the GM's discretion.
Once the ritual is completed, the caster can decide to either control the forged creature using verbal commands, or inscribe a command phrase of up to 25 words on the newly-formed command gem for the creature to obey until it is destroyed.
A creature controlled directly obeys all verbal commands of the caster as long as they are holding the command gem on their person. In combat, the creature takes its turn immediately after yours, and obeys your last command to the best of its ability. If the creature cannot hear a new command and as completed its previous command, it stands still until a new command is issued or until it is attacked, in which case it retaliates. Only one forged creature can be controlled directly at a time. If more than 1 creature is controlled at a time, the oldest creature immediately becomes feral after 1 minute.
A creature controlled by a command phrase will follow the words of the phrase to the letter with the best of its ability and understanding. If the creature is ever in a situation where the command phrase cannot be applied, it remains idle until attacked, in which case it retaliates until the attacker is killed or the command phrase becomes applicable again.
If the command gem and the corresponding forged undead are ever more than 300ft away for longer than an hour, or if the command gem is destroyed, the forged undead becomes feral until the command gem is brought within 300ft. If the forged creature is destroyed, there is a 25% for the corresponding command gem to be destroyed as well.
The caster of this spell can change, erase or write a command phrase on a command gem as an action. A command gem can only receive one change in its command phrase per day or it is immediately destroyed.
* - (a polished gem of varying value, a humanoid sacrifice and enough bones and flesh to craft the target undead (which the spell consume))