Merge branch 'master' into Playerbot

This commit is contained in:
Yunfan Li
2024-03-22 20:41:43 +08:00
30 changed files with 3992 additions and 4021 deletions

View File

@@ -2146,6 +2146,8 @@ public:
void SetDrunkValue(uint8 newDrunkValue, uint32 itemId = 0);
[[nodiscard]] uint8 GetDrunkValue() const { return GetByteValue(PLAYER_BYTES_3, 1); }
[[nodiscard]] int32 GetFakeDrunkValue() const { return GetInt32Value(PLAYER_FAKE_INEBRIATION); }
void UpdateInvisibilityDrunkDetect();
static DrunkenState GetDrunkenstateByValue(uint8 value);
[[nodiscard]] uint32 GetDeathTimer() const { return m_deathTimer; }