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 04-19-2010, 11:30 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Quote:
Originally Posted by Frosef View Post
Bots, I believe, use the cast code located in MobAI.cpp, which controls NPCs too. Specifically, do a find for "NPC::AICastSpell" and I believe that's the function bots/NPCs use to determine spell choice. I did some poking around trying to build a better healer, too.
This is incorrect. There is a specific Bot::AICastSpell function for the bots in botspellsai.cpp. I started looking through this function and related functions today and found there is room for improvement in the logic. Also, a specific bot will only heal within it's own group and no bot will cast another heal on the same character for at least 2 seconds.

I have plans to improve the spell casting AI for bots but I am waiting for the spells branch to be completed so I do not have to do the work twice. Feel free to tweak the existing code in the meantime. I'll be happy to commit reasonable submissions to SVN.
Reply With Quote
 


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 04:40 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