mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Fold the last duplicated DBC offsets into Offsets.h: - SpellIcon.dbc path (+0x04): 4 copies across 3 files -> OFF_SPELLICON_PATH. aura/Data and spell/Cast had local consts; spell/Info used two raw `iconRec + 4` literals. - totem/Tracker's OFF_MISC_VALUE (0x1A8) duplicated the existing OFF_SPELL_RECORD_EFFECT_MISC_VALUE -- repointed. OFF_TOTEM_TOOL (0xA0) is a Spell.dbc field, added as OFF_SPELL_RECORD_TOTEM. Audit result: unit-descriptor offsets were already fully centralized in Offsets.h, and item ItemStats_C fields are read via a named struct rather than offset consts, so neither needed work. Spell.dbc and its sub-DBC record offsets are now a single source of truth.