mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Classic WoW stores aura flags in UNIT_FIELD_AURAFLAGS (12 uint32 fields packed 4 bytes per uint32, one byte per aura slot). Flag bit 0x02 = harmful (debuff), 0x04 = helpful (buff). - Add UNIT_FIELD_AURAFLAGS to update_field_table.hpp (Classic wire index 98) - Add wire index 98 to Classic and Turtle WoW JSON update field tables - Both Classic aura rebuild paths (CREATE_OBJECT and VALUES) now read the flag byte for each aura slot to populate AuraSlot.flags, enabling the buff/debuff bar to correctly separate buffs from debuffs on Classic
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"OBJECT_FIELD_ENTRY": 3,
|
|
"OBJECT_FIELD_SCALE_X": 4,
|
|
"UNIT_FIELD_TARGET_LO": 16,
|
|
"UNIT_FIELD_TARGET_HI": 17,
|
|
"UNIT_FIELD_BYTES_0": 36,
|
|
"UNIT_FIELD_HEALTH": 22,
|
|
"UNIT_FIELD_POWER1": 23,
|
|
"UNIT_FIELD_MAXHEALTH": 28,
|
|
"UNIT_FIELD_MAXPOWER1": 29,
|
|
"UNIT_FIELD_LEVEL": 34,
|
|
"UNIT_FIELD_FACTIONTEMPLATE": 35,
|
|
"UNIT_FIELD_FLAGS": 46,
|
|
"UNIT_FIELD_DISPLAYID": 131,
|
|
"UNIT_FIELD_MOUNTDISPLAYID": 133,
|
|
"UNIT_FIELD_AURAS": 50,
|
|
"UNIT_FIELD_AURAFLAGS": 98,
|
|
"UNIT_NPC_FLAGS": 147,
|
|
"UNIT_DYNAMIC_FLAGS": 143,
|
|
"UNIT_FIELD_RESISTANCES": 154,
|
|
"UNIT_FIELD_STAT0": 138,
|
|
"UNIT_FIELD_STAT1": 139,
|
|
"UNIT_FIELD_STAT2": 140,
|
|
"UNIT_FIELD_STAT3": 141,
|
|
"UNIT_FIELD_STAT4": 142,
|
|
"UNIT_END": 188,
|
|
"PLAYER_FLAGS": 190,
|
|
"PLAYER_BYTES": 191,
|
|
"PLAYER_BYTES_2": 192,
|
|
"PLAYER_XP": 716,
|
|
"PLAYER_NEXT_LEVEL_XP": 717,
|
|
"PLAYER_REST_STATE_EXPERIENCE": 1175,
|
|
"PLAYER_FIELD_COINAGE": 1176,
|
|
"PLAYER_QUEST_LOG_START": 198,
|
|
"PLAYER_FIELD_INV_SLOT_HEAD": 486,
|
|
"PLAYER_FIELD_PACK_SLOT_1": 532,
|
|
"PLAYER_FIELD_BANK_SLOT_1": 564,
|
|
"PLAYER_FIELD_BANKBAG_SLOT_1": 612,
|
|
"PLAYER_SKILL_INFO_START": 718,
|
|
"PLAYER_EXPLORED_ZONES_START": 1111,
|
|
"PLAYER_END": 1282,
|
|
"GAMEOBJECT_DISPLAYID": 8,
|
|
"ITEM_FIELD_STACK_COUNT": 14,
|
|
"ITEM_FIELD_DURABILITY": 48,
|
|
"ITEM_FIELD_MAXDURABILITY": 49,
|
|
"CONTAINER_FIELD_NUM_SLOTS": 48,
|
|
"CONTAINER_FIELD_SLOT_1": 50
|
|
}
|