I started looking through the code, and it appears to me that a lot of features are already in the code. You just need to add some certain spells to the bot's spell lists and such.
Auto mez for example, it looks through the bot's spell table to find the best spell to use for the job. My PEQ database did not come with it already plugged in, into the NPC spells list #705. So after adding it, the bot now auto-mezzes.
Try it out.
|