mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-16 09:13:50 +00:00
All four functions read UNIT_FIELD_FLAGS instead of PLAYER_FLAGS. - AFK (0x01) hit UNIT_FLAG_SERVER_CONTROLLED — vendors flagged as AFK - DND (0x02) hit UNIT_FLAG_NON_ATTACKABLE — guards flagged as DND - Ghost (0x100) hit UNIT_FLAG_IMMUNE_TO_PC — immune NPCs flagged as ghost - FFA PvP (0x80000) hit UNIT_FLAG_PACIFIED — pacified mobs flagged FFA All now correctly read PLAYER_FLAGS with the right bit masks (0x01, 0x02, 0x10, 0x80 respectively), matching entity_controller.cpp which already uses the correct field. |
||
|---|---|---|
| .. | ||
| addon_manager.cpp | ||
| lua_engine.cpp | ||
| toc_parser.cpp | ||