diff options
author | treeston <treeston.mmoc@gmail.com> | 2016-08-06 20:20:07 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-02-11 22:37:07 +0100 |
commit | d2b5af3a524ee0eeeedfe29aa34d841f70612e7e (patch) | |
tree | e97bb82967f550273ce19b6b70b41d684292483b /src/server/game/Conditions/ConditionMgr.h | |
parent | 12b58eae40d8fff432a28993e10da84551d3cc6a (diff) |
Core/Conditions: Add new CONDITION_PET_TYPE (45). Matches target player's pet against specified (value1) bitmask.
(cherry picked from commit e9d4bbc74effad4b16de1a5514cea531f4e5e444)
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 04c0e13ebec..01382599ceb 100644 --- a/src/server/game/Conditions/ConditionMgr.h +++ b/src/server/game/Conditions/ConditionMgr.h @@ -93,7 +93,8 @@ enum ConditionTypes 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_CHARMED = 44, // 0 0 0 true if unit is currently charmed - CONDITION_MAX = 45 // MAX + CONDITION_PET_TYPE = 45, // mask 0 0 true if player has a pet of given type(s) + CONDITION_MAX = 46 // MAX }; /*! Documentation on implementing a new ConditionSourceType: |