After thinking a bit on this, I think it might be best to combine them all into one column, similar to an npc's special attack. I assume we will be adding more options in the future (think raid). You could either include all spelltypes, in order as listed in spdat.h: SpellType_Nuke, SpellType_Heal, SpellType_Root, SpellType_Buff, SpellType_Escape, SpellType_Pet, SpellType_Lifetap, SpellType_Snare, SpellType_DOT, SpellType_Dispel, SpellType_InCombatBuff, SpellType_Mez, SpellType_Charm, SpellType_Slow, SpellType_Debuff , or just the most important. I could see wanting to turn off an SKs pet or keep a healing shaman from debuffing. An example could be "410111000100004". Just parse it when spawning bot. This keeps us from having to keep adding columns, just add another number at the end.
Also, it seems more intuitive if 0 was off, and the higher the number, the more aggressive.
|