diff options
author | Antonio MartÃn Berti <15972392+BertiRean@users.noreply.github.com> | 2022-02-06 14:57:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 18:57:19 +0100 |
commit | b5a67cf17dbf18369a2a3370d9d45ca6c56e8cc7 (patch) | |
tree | 381121fbf63639f21208b0997be478ebaae3ce7b /src/server/game/Conditions/ConditionMgr.h | |
parent | 3fa4c049193a756873be2bf49c1ce467c7396082 (diff) |
Core/Conditions: Implemented new condition type CONDITION_BATTLE_PET_COUNT to check how many copies of a battle pet are collected (#27689)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.h')
-rw-r--r-- | src/server/game/Conditions/ConditionMgr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h index 0daa1305e60..44001f94a5f 100644 --- a/src/server/game/Conditions/ConditionMgr.h +++ b/src/server/game/Conditions/ConditionMgr.h @@ -109,6 +109,7 @@ enum ConditionTypes CONDITION_GAMEMASTER = 50, // canBeGM 0 0 true if player is gamemaster (or can be gamemaster) CONDITION_OBJECT_ENTRY_GUID = 51, // TypeID entry guid true if object is type TypeID and the entry is 0 or matches entry of the object or matches guid of the object CONDITION_TYPE_MASK = 52, // TypeMask 0 0 true if object is type object's TypeMask matches provided TypeMask + CONDITION_BATTLE_PET_COUNT = 53, // SpecieId count ComparisonType true if player has `count` of battle pet species CONDITION_MAX }; |