mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-02 15:53:51 +00:00
fix(dbc): runtime detection for ItemDisplayInfo texture field indices
Revert static JSON layout changes (15-22 back to 14-21) since WotLK loads the Classic 23-field DBC. Add getItemDisplayInfoTextureFields() helper that detects field count at runtime and adjusts the texture base index accordingly (14 for 23-field, 15 for 25-field).
This commit is contained in:
parent
3111fa50e8
commit
1379e74c40
6 changed files with 51 additions and 70 deletions
|
|
@ -119,14 +119,14 @@
|
|||
"InventoryIcon": 5,
|
||||
"LeftModel": 1,
|
||||
"LeftModelTexture": 3,
|
||||
"TextureArmLower": 16,
|
||||
"TextureArmUpper": 15,
|
||||
"TextureFoot": 22,
|
||||
"TextureHand": 17,
|
||||
"TextureLegLower": 21,
|
||||
"TextureLegUpper": 20,
|
||||
"TextureTorsoLower": 19,
|
||||
"TextureTorsoUpper": 18
|
||||
"TextureArmLower": 15,
|
||||
"TextureArmUpper": 14,
|
||||
"TextureFoot": 21,
|
||||
"TextureHand": 16,
|
||||
"TextureLegLower": 20,
|
||||
"TextureLegUpper": 19,
|
||||
"TextureTorsoLower": 18,
|
||||
"TextureTorsoUpper": 17
|
||||
},
|
||||
"ItemSet": {
|
||||
"ID": 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue