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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-01-2013, 02:46 AM
ChessyCats
Sarnak
 
Join Date: Jun 2010
Posts: 39
Default

If anyone else is interested in this, it's a pretty easy change to make your melee bots rest. Open up bot.cpp and search for "GetManaRatio". The first result should take you to a section of code that tells a bot when to meditate. Just change the line containing GetManaRatio to if(GetManaRatio() < 99.0f || GetHPRatio() < 99.0f), then recompile. A bot will rest if it's out of combat and doesn't have full mana or health.
Reply With Quote
Reply

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 07:17 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