Quote:
Originally Posted by Angelox
- if there were more than on NPC in the brawl, only the last one standing would flee (2 NPCs would stay and fight).
|
I got something working like this:
When the mob is deciding whether to flee, it looks at the person at the top of it's hate list.
If there are any mobs in that person's hate list which:
Do not con green
Are not feared or fleeing.
Are within aggro range of the player (this is in lieu of checking if they are in melee combat with him, which I don't see can be easily done).
Then the mob won't run. I think I need to add more checks, e.g. don't count mezzed mobs.
As has been mentioned, there is already a check to see if the mob is totally immune to fleeing.
I'll do some more tweaking/testing and add a rule to disable it and probably post it at the weekend.