Bot spell issue
I know this is suppose to go on the bot forums but I couldn't find it heh. basically my problem is with the druid bots. I added the skin like wood spell line in and the bots cast it like they are suppose to. but i tried adding the strength of earth spell line and he they wont cast it. any thoughts?
|
Do any of the spells that you are trying to add not stack/overwrite other spells?
|
no the str line the thistle line and the skin line all stack, Its just 1 bot im using that I pair with my mage. So there aren't any other buffs in play that would cause problems
|
If there's not a conflict issue..I'd have to look into the bot spell code...
Have you looked at the bot's active spells to see if they're applying as self-only for some reason? |
How do I see what active spells there are? And from what I can physically see I don't see him casting the spell at all.
|
Ok so i couldnt figure out what spells he had on him but I did make some progress. He wont cast his str of earth spell line UNLESS there is a tank type warrior sk paladin ect in the group that would benefit from the spell. which is kinda annoying since my mage could use the extra str to carry stuff. Anyway I could fix that?
|
This section is probably what you will want to look at: https://github.com/EQEmu/Server/blob...llsai.cpp#L300
..in particular - https://github.com/EQEmu/Server/blob...llsai.cpp#L345 Changing this: Code:
IsEffectInSpell(selectedBotSpell.SpellId, SE_STR) || Code:
/*IsEffectInSpell(selectedBotSpell.SpellId, SE_STR) ||*/ EDIT: Just remember that if you get 'too crazy' with overriding casting behavior, you may run out of spell slots :) |
You sir are a scholar and a gentlemen :)
|
One last question for you If you don't mind. Anyway to get cleric shaman and druid bots to reserve like 20% of their mana for heals? Kinda annoying if they blow all their mana shooting stuff.
|
Quote:
http://www.eqemulator.org/forums/sho...ghlight=stance |
All times are GMT -4. The time now is 03:17 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.