Open melink14 opened 3 years ago
In my understanding its very complex task, which better programmers (not working for ggg) were not able to make 100% accurate. I wouldn't want to make comparisons with such big number of mods - its not like there is way to 100% resolve that some affix is prefix or suffix, because those with same stats are computed together like:
(totally not real example) suffix: +10 strength prefix: +10 strength and 39 accuracy
Only ggg knows for sure what is what, so they can implement that option on their official trade site. you get in json +20strength and 39 accuracy So you see the problem (there is more then 1000 of mods) now to take every stat and try to aproximate which is sum of 2/3 its pretty insane :( I'd rather work with solid facts then approximations with this problem.
This is the same as https://github.com/benjaminjackman/looty/issues/29 but that one was closed due to the exitance of emc which is useful but can't differentiate between prefix and suffix and has some issues with two mod affixes.
I looked at the data returned from the API and agree that it's not straightforward but I wonder if it's worth using the raw mod data to make an estimate: https://github.com/brather1ng/RePoE
Probably the json could be processed for easier run time checks but not sure if there's interest here.