Might require some manual effort on your part, but I believe the npc_spell_entries table has a "priority" field. If it does what I think, the NPC should cast it's spells in the order of priority. I haven't tested this, but it would make sense.
You know how some NPCs pop, and immediately start buffing themselves or summon pets... I think this is what controls that.
|