Bots arent currently set up to snare other than when the mob is fleeing. To have bots snare mobs who are not fleeing, you need to add Snare to the spell types used by whatever bot class in AI_EngagedCastSpell(). The line should look like one of the nuke ones. Just put it in the order you want it (before or after nuke). Just use SpellType_Snare. You will probably also need to modify where it calculates the spell casting chances. I'm not sure if snare has anything other that 0 since it wasn't really being used. Let me know if you have any problems with this and I can help out some more. I just don't have the code in front of me.
|