Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-02-2012, 10:08 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

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.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:56 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3