mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
Fix UNIT_FIELD_BYTES_0 index (56→23) and add per-type power arrays to Unit
- Correct UNIT_FIELD_BYTES_0 to index 23 (was incorrectly 56) in update fields JSON and table - Replace single power/maxPower with powers[7]/maxPowers[7] arrays indexed by power type - Add setPowerByType/setMaxPowerByType helpers for setting specific power types
This commit is contained in:
parent
76e1aef62d
commit
1fb1daea7f
3 changed files with 12 additions and 10 deletions
|
|
@ -64,7 +64,7 @@ void UpdateFieldTable::loadWotlkDefaults() {
|
|||
{UF::OBJECT_FIELD_ENTRY, 3},
|
||||
{UF::UNIT_FIELD_TARGET_LO, 6},
|
||||
{UF::UNIT_FIELD_TARGET_HI, 7},
|
||||
{UF::UNIT_FIELD_BYTES_0, 56},
|
||||
{UF::UNIT_FIELD_BYTES_0, 23},
|
||||
{UF::UNIT_FIELD_HEALTH, 24},
|
||||
{UF::UNIT_FIELD_POWER1, 25},
|
||||
{UF::UNIT_FIELD_MAXHEALTH, 32},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue