Core/Spells: Extended mechanic mask to uint64
Port From (https://github.com/TrinityCore/TrinityCore/commit/de7c03c8385780f05530c2b3cf952a712d5f8f00)
This commit is contained in:
@@ -67,7 +67,7 @@ namespace Framework.Constants
|
||||
PetType = 45, // mask 0 0 true if player has a pet of given type(s)
|
||||
Taxi = 46, // 0 0 0 true if player is on taxi
|
||||
Queststate = 47, // quest_id state_mask 0 true if player is in any of the provided quest states for the quest (1 = not taken, 2 = completed, 8 = in progress, 32 = failed, 64 = rewarded)
|
||||
ObjectiveProgress = 48, // ID 0 0 true if player has ID objective complete, but quest not yet rewarded
|
||||
ObjectiveProgress = 48, // ID 0 progressValue true if player has ID objective progress equal to ConditionValue3 (and quest is in quest log)
|
||||
DifficultyId = 49, // Difficulty 0 0 true is map has difficulty id
|
||||
Gamemaster = 50, // canBeGM 0 0 true if player is gamemaster (or can be gamemaster)
|
||||
ObjectEntryGuid = 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
|
||||
|
||||
@@ -337,7 +337,11 @@ namespace Framework.Constants
|
||||
Sapped = 30,
|
||||
Enraged = 31,
|
||||
Wounded = 32,
|
||||
Max = 33,
|
||||
Infected2 = 33,
|
||||
Infected3 = 34,
|
||||
Infected4 = 35,
|
||||
Taunted = 36,
|
||||
Max = 37,
|
||||
|
||||
ImmuneToMovementImpairmentAndLossControlMask = ((1 << Charm) | (1 << Disoriented) |
|
||||
(1 << Fear) | (1 << Root) | (1 << Sleep) | (1 << Snare) | (1 << Stun) |
|
||||
|
||||
Reference in New Issue
Block a user