Check out NPC::NPCSpecialAttacks(). This is called when loading th eNPC from the DB or when the change special attacks command is called. At the end, it writes it to the database. That would be a good place to start.
I'm working on a couple things then I will take a look at this. I want to think about the relationship between these ratings and bot roles / archetypes, as well as how raids will affect the design, before I do anything.
|