aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptMgr.cpp
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-02-20 17:27:02 -0300
committerfunjoker <funjoker109@gmail.com>2021-08-08 21:21:34 +0200
commit70c26d53cb94f0e78a57ecc2279c960370891aa4 (patch)
tree483fc32d5c348c381d71af6e108511432a297aa1 /src/server/game/Scripting/ScriptMgr.cpp
parent47e41be5157f2e3bb536dfc4f2cbbdc66e64b4bd (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 (cherry picked from commit ba27711145d1b015578aedb48ea8532b4f0bec75)
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.cpp')
0 files changed, 0 insertions, 0 deletions