Kelsidavis-WoWee/include/ui
Kelsi 20cdff0790 Fix armor stat in character stats panel via UNIT_FIELD_RESISTANCES
The character stats panel was showing Armor: 0 because summing armor
from item query responses is fragile (depends on correct BuyCount/damage
block parsing). Instead, read the server-authoritative total armor
directly from UNIT_FIELD_RESISTANCES (physical resistance, index 0)
in the player entity update fields.

Added UNIT_FIELD_RESISTANCES to the UF enum and all four expansion
JSON files with correct wire indices:
  WotLK 3.3.5a: 99   (NPC_FLAGS=82 + emotestate + stat×5 + posstat×5 + negstat×5)
  TBC 2.4.3:   185   (NPC_FLAGS=168 + same relative layout)
  Classic 1.12: 154  (NPC_FLAGS=147 + emotestate + stat×5, no posstat/negstat)
  Turtle WoW:  154   (same as Classic)

Stats panel uses server armor when > 0, falls back to summed item-query
armor otherwise. Armor rating resets to 0 on world entry and is updated
from both CREATE_OBJECT and VALUES update blocks.
2026-02-19 17:45:09 -08:00
..
auth_screen.hpp Add CI security suite and scrub hardcoded local host/path defaults 2026-02-19 06:46:11 -08:00
character_create_screen.hpp Fix character creation for expansion-filtered servers (Turtle WoW) 2026-02-14 00:57:33 -08:00
character_screen.hpp Handle SMSG_CHARACTER_LOGIN_FAILED (0x041) for AzerothCore/Playerbot compatibility 2026-02-17 13:59:29 -08:00
game_screen.hpp Fix audio volume settings: apply saved values on startup, don't overwrite with audio manager defaults 2026-02-17 17:37:20 -08:00
inventory_screen.hpp Fix armor stat in character stats panel via UNIT_FIELD_RESISTANCES 2026-02-19 17:45:09 -08:00
quest_log_screen.hpp Stabilize quest log details loading and turn-in item sync 2026-02-19 00:56:24 -08:00
realm_screen.hpp Improve UI layout, spell casting, and realm selection screen 2026-02-17 03:50:36 -08:00
spellbook_screen.hpp Fix action bar and buff bar spell tooltips showing 'Spell #xxx' 2026-02-17 15:41:55 -08:00
talent_screen.hpp Implement complete talent system with dual spec support 2026-02-10 02:00:13 -08:00
ui_manager.hpp Add character creation screen with race/class/appearance customization 2026-02-05 14:13:48 -08:00