Basically when a mob checks if it want to flee it first checks the special attacks for 'f' if that exists it wont run.
Then it checks that it is able to run based on the fleeing timer, it's something like can only start fleeing every 2 seconds or something.
Then it checks if it's HP ratio is less than the hp ratio of the rule.
Then it checks if it's target is less than 20% hp if it is it cancels the impending flee.
|