Looking through the code I think I may have found the offending section of code and it does kind of explain it. There is a check to see if the target character is a Necromancer and if they have Lich on, it is supposed to skip them. I have no buffs on this level 20 guy, and it keeps casting repeatedly. I am going to work with this later on today and see if I can figure it out.
|
Okay I finally got time to look at it again. I found how to fix it, at least for myself.
Code:
{ |
Where is this code at? I'll take a look at it, but I'm not sure where this belongs.
|
bot.cpp
Must also have an impact on the Cleric Bot healing a necro too. When I logged he was at 40% and cleric or druid would not heal him. |
40% seems low, but there was special code for waiting to healing necro's in order to give them a chance to use a lifetap spell while also using a lich type spell.
|
I waiting for at least 5 minutes. Had a Druid and Cleric in group.
My guess it is looking for Lich, or Lich related. |
I'm pretty sure it used to be 60%, but then I think someone changed it to 40% before Necros are healed. It should probably be tweaked a bit. 60% seems much better, especially if they are not in combat.
Code:
// Give necromancers a chance to go lifetap something or cleric can spend too much mana on a necro |
Holy crap, yeah I just found that in my botspellsai.cpp. I am definitely changing that to suit my needs. I also notice that BL will stand back and just sent their pet in to fight. Mine was healing me over and over with their puny heals. I may be changing that because I do not know about you, I would rather have my tricked out BL doing melee.
|
All times are GMT -4. The time now is 07:21 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.