mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
fix: chat prefix, hostile faction display, and game object looting
- Add BG_SYSTEM_NEUTRAL/ALLIANCE/HORDE chat types (0x52-0x54) and reclassify them as SYSTEM in the parser — prevents bogus [Say] prefix on arena/BG system messages - Remove fallback [TypeName] bracket for sender-less SAY/YELL/WHISPER messages; only group-channel types (Party/Guild/Raid/BG) show brackets without a sender - Remove factionTemplate != 0 guard — units with FT=0 now get setHostile() like any other unit (defaulting to hostile from the map default), fixing NPCs that appeared friendly due to unset faction template - Enable CMSG_LOOT for WotLK type=3 (chest) game objects in addition to CMSG_GAMEOBJ_USE — fixes Milly's Harvest and other quest gather objects on AzerothCore WotLK servers
This commit is contained in:
parent
942df21c66
commit
1a370fef76
4 changed files with 52 additions and 19 deletions
|
|
@ -615,7 +615,11 @@ enum class ChatType : uint8_t {
|
|||
MONSTER_WHISPER = 42,
|
||||
RAID_BOSS_WHISPER = 43,
|
||||
RAID_BOSS_EMOTE = 44,
|
||||
MONSTER_PARTY = 50
|
||||
MONSTER_PARTY = 50,
|
||||
// BG/Arena system messages (WoW 3.3.5a — no sender, treated as SYSTEM in display)
|
||||
BG_SYSTEM_NEUTRAL = 82,
|
||||
BG_SYSTEM_ALLIANCE = 83,
|
||||
BG_SYSTEM_HORDE = 84
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue