PathOfBuildingCommunity / PathOfBuilding

Offline build planner for Path of Exile.
https://pathofbuilding.community
Other
3.99k stars 2.08k forks source link

Add support to take into account empty sockets when assuming socketed #7226

Open Ethck opened 10 months ago

Ethck commented 10 months ago

Check version

Check for duplicates

Check for support

What is the value from the calculation in-game?

In game my Total Health value is 19243. In my build I have 17 empty red sockets, 0 empty green sockets, 0 empty blue sockets, and 0 empty white sockets. This leads to Untouched Soul granting (17 * 40) max life (total 680) and after everything else in the build brings the total to 19243.

What is the value from the calculation in Path of Building?

In Path of Building, my Total Health value shows 18763. Without setting additional configuration options to overwrite the expected sockets from Untouched Soul, PoB calculates 600 max life, 40 max mana, and 225 accuracy rating. This would be the result of 15 empty red sockets, 1 empty green sockets, 1 empty blue sockets, and 0 empty white sockets. This leads to Untouched Soul granting (15 40) max life (total 600) instead of the correct (17 40) max life from empty red sockets.

The issue as far as I can determine is because of the order of the sockets on my Body Armour which is socketed as Red Red Red Red Green Blue or RRRRGB. I have 4 gems socketed in the lower half of the chest piece leaving the first two red sockets free. It seems that the 4 skill gems in the item are socketed in the first 4 slots regardless of color instead of skill gems adhering to their color (since green and blue are spots 5 & 6 in this case respectively)

How to reproduce the issue

  1. Equip "The Untouched Soul, Gold Amulet"
  2. Using a 6 socket (links not important) body armour, place gems in any of the lower sockets but NOT the first two sockets.
  3. At this point PoB will have calculated the stats from Untouched Soul wrong because when 4 items are socketed in the body armour they are assumed to be be in the first available sockets (color doesn't seem to matter)

Character build code

https://pobb.in/88G9VsD9oTih

Screenshots

image image image image image

sida-wang commented 10 months ago

This is a limitation of PoB as there is no way to specify which gem is in which socket yet. The default calculation method which you have described is mentioned in the tooltip for the config options image

Note that 0 and blank are different for the purposes of these config options.

Functionality to support gems in specific sockets should be opened as an enhancement issue. This is something that's been talked about but needs more serious discussion to reach a consensus on how to implement.

Ethck commented 10 months ago

Thank you for getting back to me. I'll close this issue then since it's already documented and well known.

QuickStick123 commented 10 months ago

I will just reopen this with the feature tag as it would be good to have at least some reference open about this problem. It will probably will also affect items like Dialla's Malefaction and stuff as well if the the first sockets are empty.

QuickStick123 commented 10 months ago

Maybe rename the title to something a bit more general e.g. "Add support to take into account empty sockets when assuming socketed." or something along those lines.