Table: spawn_npc_equipment - this table holds items that the NPC can use against you in combat. Right now, none of our spawns have gear. This is not gear that is visible on the NPC, nor loot they drop, but items they may carry to boost their stats similarly to how gear benefits players.
Table: spawn_npc_spells - this table holds all the spells a particular spawn might be able to use. Hopefully, many spawns use the same tables and we do not need thousands of configurations
Table: spawn_npc_skills - this table grants the spawn the ability to use a particular item or spell much in the way a player must have a Skill before they can use items or spells.
I'd like to first set up "generic class lists"; that is, classes 1-40 each have their own lists of spells and skills that will be applied to them. If anyone thinks there is a need for a "generic equipment list", let's talk about what that might entail.
How we will set these up is, in the spawn_npc_skills table, we'll set up 40 (well, 24?) separate skill_list_id's, and each skill_list_id will have all the skills associated with a particular class (paladin, assassin, templar, wizard, etc). Once those lists are set up, we can start building more intricate lists as needed. Initially, generic will be good enough.
Same thing with spawn_npc_spells. Separate spell_list_id's for all the NPC classes, with their appropriate spell_id's assigned.
We will then assign these *_list_id's to spawns based on their "class" and that can be automated once the lists are built.
Getting Detailed:
Each spawn_npcs record has 5 fields for setting up these configs -
- spell_list_id
secondary_spell_list_id
skill_list_id
secondary_skill_list_id
equipment_list_id
For our first run through this setup however, we'll just keep things generic.
Anyone who is up to this task, reply here or shoot me a PM. Be serious about your offer to help, and stick with it til it is complete. Too many people come and go from these smaller tasks and we now have no idea what shape our detail tables are in without careful review. So please, don't offer to help if you cannot see it through to completion.
Thanks