You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PLAYER_FLAGS_PVP_TIMER = 0x00040000,// 3.0.2, pvp timer active (after you disable pvp manually)
343
-
PLAYER_FLAGS_UBER = 0x00080000,
344
-
PLAYER_FLAGS_UNK20 = 0x00100000,
345
-
PLAYER_FLAGS_UNK21 = 0x00200000,
346
-
PLAYER_FLAGS_COMMENTATOR2 = 0x00400000,
347
-
PLAYER_ALLOW_ONLY_ABILITY = 0x00800000,// used by bladestorm and killing spree, allowed only spells with SPELL_ATTR0_REQ_AMMO, SPELL_EFFECT_ATTACK, checked only for active player
348
-
PLAYER_FLAGS_UNK24 = 0x01000000,// disabled all melee ability on tab include autoattack
349
-
PLAYER_FLAGS_NO_XP_GAIN = 0x02000000,
350
-
PLAYER_FLAGS_UNK26 = 0x04000000,
351
-
PLAYER_FLAGS_UNK27 = 0x08000000,
352
-
PLAYER_FLAGS_UNK28 = 0x10000000,
353
-
PLAYER_FLAGS_UNK29 = 0x20000000,
354
-
PLAYER_FLAGS_UNK30 = 0x40000000,
355
-
PLAYER_FLAGS_UNK31 = 0x80000000
324
+
PLAYER_FLAGS_GROUP_LEADER = 0x00000001,
325
+
PLAYER_FLAGS_AFK = 0x00000002,
326
+
PLAYER_FLAGS_DND = 0x00000004,
327
+
PLAYER_FLAGS_GM = 0x00000008,
328
+
PLAYER_FLAGS_GHOST = 0x00000010,
329
+
PLAYER_FLAGS_RESTING = 0x00000020,
330
+
PLAYER_FLAGS_VOICE_CHAT = 0x00000040,
331
+
PLAYER_FLAGS_UNK7 = 0x00000080,// pre-3.0.3 PLAYER_FLAGS_FFA_PVP flag for FFA PVP state
332
+
PLAYER_FLAGS_CONTESTED_PVP = 0x00000100,// Player has been involved in a PvP combat and will be attacked by contested guards
333
+
PLAYER_FLAGS_IN_PVP = 0x00000200,
334
+
PLAYER_FLAGS_HIDE_HELM = 0x00000400,
335
+
PLAYER_FLAGS_HIDE_CLOAK = 0x00000800,
336
+
PLAYER_FLAGS_PLAYED_LONG_TIME = 0x00001000,// played long time
337
+
PLAYER_FLAGS_PLAYED_TOO_LONG = 0x00002000,// played too long time
338
+
PLAYER_FLAGS_IS_OUT_OF_BOUNDS = 0x00004000,
339
+
PLAYER_FLAGS_DEVELOPER = 0x00008000,// <Dev> prefix for something?
340
+
PLAYER_FLAGS_LOW_LEVEL_RAID_ENABLED = 0x00010000, // pre-3.0.3 PLAYER_FLAGS_SANCTUARY flag for player entered sanctuary
PLAYER_FLAGS_PVP_TIMER = 0x00040000,// 3.0.2, pvp timer active (after you disable pvp manually)
343
+
PLAYER_FLAGS_UBER = 0x00080000,
344
+
PLAYER_FLAGS_UNK20 = 0x00100000,
345
+
PLAYER_FLAGS_UNK21 = 0x00200000,
346
+
PLAYER_FLAGS_COMMENTATOR2 = 0x00400000,
347
+
PLAYER_ALLOW_ONLY_ABILITY = 0x00800000,// used by bladestorm and killing spree, allowed only spells with SPELL_ATTR0_REQ_AMMO, SPELL_EFFECT_ATTACK, checked only for active player
348
+
PLAYER_FLAGS_UNK24 = 0x01000000,// disabled all melee ability on tab include autoattack
349
+
PLAYER_FLAGS_NO_XP_GAIN = 0x02000000,
350
+
PLAYER_FLAGS_UNK26 = 0x04000000,
351
+
PLAYER_FLAGS_UNK27 = 0x08000000,
352
+
PLAYER_FLAGS_UNK28 = 0x10000000,
353
+
PLAYER_FLAGS_UNK29 = 0x20000000,
354
+
PLAYER_FLAGS_UNK30 = 0x40000000,
355
+
PLAYER_FLAGS_UNK31 = 0x80000000
356
356
};
357
357
358
358
enum PlayerBytesOffsets
@@ -1675,6 +1675,8 @@ class TC_GAME_API Player : public Unit, public GridObject<Player>
1675
1675
floatOCTRegenMPPerSpirit() const;
1676
1676
floatGetRatingMultiplier(CombatRating cr) const;
1677
1677
floatGetRatingBonusValue(CombatRating cr) const;
1678
+
1679
+
/// Returns base spellpower bonus from spellpower stat on items
0 commit comments