Creates stats and spells automatically for the NPC based on their Race, Class, and Level.
Spells are placed in through the following rules:
- Only checks Auto-Calced Spells.
- NPC must have a 50% (fAutoSpellChance) chance of casting the spell.
- NPC must have magicka to cast the spell at least 1 (iAutoSpellTimesCanCast) time(s).
- To get any spell that affects an attribute or skill (such as absorb strength) the NPC must have at least a 70 (iAutoSpellAttMin) in that attribute/skill.
- NPC will get a maximum of 3 (iAutoSpellSCHOOLMax) spells from each school (ie: Altereation, Conjuration, etc).