EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   Beastlord Bot Pet Heals (https://www.eqemulator.org/forums/showthread.php?t=32833)

werebat 01-03-2011 05:41 PM

Beastlord Bot Pet Heals
 
I have found an issue where beastlord bots will cast the wrong spell when trying to heal a non pet target. I was below 80% and my beastlord bot was trying to heal me but was casting Sharik's Replenishing which is a pet only heal spell. I looked at the code and it appears that when getting a spell of type healing it is grabbing the above mentioned spell since it is set up as a healing spell type and casting it on me. It does not check the targettype otherwise it would cast another spell such as Minor Healing. To get around this I disabled the pet only heal spells and everything is good but I hate losing a powerful spell like that.

There are several ways to fix this. A new spell type for pet heals could be added, or the code could check the targettype as well before selecting the spell for this situation.

werebat 01-03-2011 05:49 PM

Forgot to add, I am on rev 1798.


All times are GMT -4. The time now is 09:43 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.