View Single Post
  #4  
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