Kelsidavis-WoWee/include
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
..
audio Implement MPQ-path sound loading in AudioEngine 2026-02-17 18:52:19 -08:00
auth Vanilla/Turtle WoW support: M2 loading, bone parsing, textures, auth 2026-02-13 16:53:28 -08:00
core Fix movement desync: strafe animation and missing SET_FACING 2026-02-19 16:40:17 -08:00
game Fix armor stat in character stats panel via UNIT_FIELD_RESISTANCES 2026-02-19 17:45:09 -08:00
network Fix two more Windows/MinGW compile errors 2026-02-18 17:59:11 -08:00
pipeline Fix M2 white shell artifact from missing textures, add opacity track support 2026-02-17 23:52:44 -08:00
platform Fix three Windows-specific compile errors 2026-02-18 17:52:28 -08:00
rendering Fix movement desync: strafe animation and missing SET_FACING 2026-02-19 16:40:17 -08:00
ui Fix armor stat in character stats panel via UNIT_FIELD_RESISTANCES 2026-02-19 17:45:09 -08:00