jorgenswiderski / PoBPreviewBot

12 stars 1 forks source link

Convert "Supported by x" code to a data-driven approach #16

Closed aggixx closed 5 years ago

aggixx commented 5 years ago

Using RePoE. Its possible to, for each stat on each item, search in stat translations

https://raw.githubusercontent.com/brather1ng/RePoE/master/data/stat_translations.json

To find the corresponding stat ID. Then in mods you can search for that stat ID

https://raw.githubusercontent.com/brather1ng/RePoE/master/data/mods.json

To find the ID of the support gem granted by that modifier.

aggixx commented 5 years ago

Done in https://github.com/aggixx/PoBPreviewBot/commit/45c4205844eb4fbda67e1f9dee065b08eb642868.