OmegaK2 / PyPoE

Collection of Python Tools for Path of Exile
Other
237 stars 92 forks source link

Fix spec of `Characters.dat` and Rename some fields #128

Closed shirohana closed 4 years ago

shirohana commented 4 years ago

I'm analyzing relationships, and I found that the key Characters.StartSkillGem_BaseItemTypesKey exactly a key of SkillGems

Explantion:

  1. Characters.data[1] is Character Witch
  2. Characters.data[1].StartSkillGem_BaseItemTypesKey is 0
    1. For BaseItemTypes.data[0] is Blacksmith's Whetstone
    2. For SkillGems.data[0] has BaseItemTypesKey: 3957
  3. BaseItemTypes.data[3957] is Skill Fireball

I've only checked in Stable version, but I think there's no different in three versions.

shirohana commented 4 years ago

I also found the correct ref in UniqueStashLayout.dat. I can seperate the pull request or rename the branch name if you want.

shirohana commented 4 years ago

I renamed Essences.Display_Jewellery_ModsKey to Essences.Display_Accessory_ModsKey, according to https://pathofexile.gamepedia.com/Accessory.