mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 16:56:07 +00:00
fix(Core/Creatures): Critters should start fleeing upon entering comb… (#14253)
This commit is contained in:
@@ -2280,7 +2280,7 @@ public:
|
||||
[[nodiscard]] uint16 GetExtraUnitMovementFlags() const { return m_movementInfo.flags2; }
|
||||
void SetExtraUnitMovementFlags(uint16 f) { m_movementInfo.flags2 = f; }
|
||||
|
||||
void SetControlled(bool apply, UnitState state);
|
||||
void SetControlled(bool apply, UnitState state, Unit* source = nullptr, bool isFear = false);
|
||||
void DisableRotate(bool apply);
|
||||
void DisableSpline();
|
||||
|
||||
@@ -2557,7 +2557,7 @@ private:
|
||||
[[nodiscard]] uint32 GetCombatRatingDamageReduction(CombatRating cr, float rate, float cap, uint32 damage) const;
|
||||
|
||||
protected:
|
||||
void SetFeared(bool apply);
|
||||
void SetFeared(bool apply, Unit* fearedBy = nullptr, bool isFear = false);
|
||||
void SetConfused(bool apply);
|
||||
void SetStunned(bool apply);
|
||||
void SetRooted(bool apply, bool isStun = false);
|
||||
|
||||
Reference in New Issue
Block a user