diff --git a/zone/mob.h b/zone/mob.h index ada2c56dd..1d41f4098 100644 --- a/zone/mob.h +++ b/zone/mob.h @@ -803,8 +803,7 @@ public: //old fear function //void SetFeared(Mob *caster, uint32 duration, bool flee = false); float GetFearSpeed(); - bool IsFeared() { return curfp; } // This returns true if the mob is feared or fleeing due to low HP - //old fear: inline void StartFleeing() { SetFeared(GetHateTop(), FLEE_RUN_DURATION, true); } + bool IsFeared() { return (spellbonuses.IsFeared || flee_mode); } // This returns true if the mob is feared or fleeing due to low HP inline void StartFleeing() { flee_mode = true; CalculateNewFearpoint(); } void ProcessFlee(); void CheckFlee();