Core/Unit: clear charmed/possessed state before returning client control. Works like a charm
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1a76fc7569ab7338730d680e7b0c703fa6b1003)
This commit is contained in:
@@ -486,7 +486,7 @@ namespace Framework.Constants
|
||||
Unattackable = InFlight,
|
||||
Moving = RoamingMove | ConfusedMove | FleeingMove | ChaseMove | FollowMove,
|
||||
Controlled = Confused | Stunned | Fleeing,
|
||||
CantClientControl = Confused | Charmed | Possessed | Fleeing,
|
||||
CantClientControl = Charmed | Fleeing | Confused | Possessed,
|
||||
LostControl = Controlled | Possessed | Jumping | Charging,
|
||||
CannotAutoattack = Controlled | Charging | Casting,
|
||||
Sightless = LostControl | Evade,
|
||||
|
||||
Reference in New Issue
Block a user