This works with some mobs and not others, right?
I think the issue lies in the check it does for the mobs around it, it borrows from another function that does a check to see if the mobs around the mob deciding to flee or not are KoS to the player on the top of the mob deciding to flee's aggro.
Basically this means, if you were fighting something like, gnolls.. they won't flee if they have friends, but fighting something that isn't KoS to you off the bat, even though they do social aggro with their friends, they will flee even when their friends are around.
Does this seem accurate? I only took a few minutes to peek at it.
|