mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +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
|
|
@ -2,7 +2,7 @@
|
|||
"OBJECT_FIELD_ENTRY": 3,
|
||||
"UNIT_FIELD_TARGET_LO": 6,
|
||||
"UNIT_FIELD_TARGET_HI": 7,
|
||||
"UNIT_FIELD_BYTES_0": 56,
|
||||
"UNIT_FIELD_BYTES_0": 23,
|
||||
"UNIT_FIELD_HEALTH": 24,
|
||||
"UNIT_FIELD_POWER1": 25,
|
||||
"UNIT_FIELD_MAXHEALTH": 32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue