diff options
author | ariel- <ariel-@users.noreply.github.com> | 2018-02-20 17:27:02 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2018-02-20 17:34:12 -0300 |
commit | ba27711145d1b015578aedb48ea8532b4f0bec75 (patch) | |
tree | a6d2b520e9966ca3d618688166fd987e9ad0ab59 /src/server/game/Scripting/ScriptMgr.cpp | |
parent | 1cc3d33cfe7e51d66925d5df536a952165a88094 (diff) |
Core/Entities: unit states cleanup
- Added new UNIT_STATE_FOCUSING for creature focus system, this will stop creatures adding/clearing the UNIT_STATE_CANNOT_TURN mask (eg UNIT_STATE_STUNNED if stunned while focusing a spell)
- Added UNIT_STATE_CHARMED that gets set/removed on any charm type (UNIT_STATE_POSSESSED is only for possess as it's name suggests)
- The new states are checked against mask to know whenever client needs to regain character control
Closes and fixes #21460
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.cpp')
0 files changed, 0 insertions, 0 deletions