aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Conditions/ConditionMgr.h
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-08-06 20:20:07 +0200
committertreeston <treeston.mmoc@gmail.com>2016-08-06 20:20:07 +0200
commite9d4bbc74effad4b16de1a5514cea531f4e5e444 (patch)
treeb48cbf2e81db100c50ef4d6a83d4ba78b38bf7a7 /src/server/game/Conditions/ConditionMgr.h
parent97855469678bce6101a927c3d0666267c7e4acc2 (diff)
Core/Conditions: Add new CONDITION_PET_TYPE (45). Matches target player's pet against specified (value1) bitmask.
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.h')
-rw-r--r--src/server/game/Conditions/ConditionMgr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h
index fc37946603b..659cec02d37 100644
--- a/src/server/game/Conditions/ConditionMgr.h
+++ b/src/server/game/Conditions/ConditionMgr.h
@@ -75,7 +75,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: