diff options
author | treeston <treeston.mmoc@gmail.com> | 2016-08-06 17:08:52 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-02-11 22:36:54 +0100 |
commit | 12b58eae40d8fff432a28993e10da84551d3cc6a (patch) | |
tree | 10b9aa1e822b66c19746737685ae823dd560be69 /src/server/game/Conditions/ConditionMgr.h | |
parent | af6041740cd3fc3fe4120155377d523bdc5d2b75 (diff) |
Core/Conditions: Add new CONDITION_CHARMED (44). Does what it says on the tin.
(cherry picked from commit 97855469678bce6101a927c3d0666267c7e4acc2)
# Conflicts:
# src/server/game/Conditions/ConditionMgr.cpp
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.h')
-rw-r--r-- | src/server/game/Conditions/ConditionMgr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h index 7f369463361..04c0e13ebec 100644 --- a/src/server/game/Conditions/ConditionMgr.h +++ b/src/server/game/Conditions/ConditionMgr.h @@ -92,7 +92,8 @@ enum ConditionTypes CONDITION_TERRAIN_SWAP = 41, // terrainSwap 0 0 true if object is in terrainswap CONDITION_STAND_STATE = 42, // stateType state 0 true if unit matches specified sitstate (0,x: has exactly state x; 1,0: any standing state; 1,1: any sitting state;) CONDITION_DAILY_QUEST_DONE = 43, // quest id 0 0 true if daily quest has been completed for the day - CONDITION_MAX = 44 // MAX + CONDITION_CHARMED = 44, // 0 0 0 true if unit is currently charmed + CONDITION_MAX = 45 // MAX }; /*! Documentation on implementing a new ConditionSourceType: |