What part of the code prevents npcs from casting beneficial spells on players?
Hey! I was having trouble finding this on the forums.
What is preventing npcs from healing and buffing players? I've scouted around in the source code and can't find anything. |
Call chain..
https://github.com/EQEmu/Server/blob...b_ai.cpp#L1363 https://github.com/EQEmu/Server/blob...b_ai.cpp#L1916 https://github.com/EQEmu/Server/blob...ob_ai.cpp#L382 ..the last link is to a NPC-Only list iteration. No clients are stored in the list, so they are excluded by exclusion and not by filter/criteria. |
TY for reply!
Ahh shoot! So it's disabled by the fact there simply isn't code for it.. |
Everything is changeable :)
You would need to modify the code to iterate through the full entity list instead of just the npc list, doing whatever additional checks that are required for it to function correctly. |
All times are GMT -4. The time now is 12:51 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.