Originally Posted by Pathal
How does the valor upgrade work on trinket procs anyways? Is it as simple as proc_value*(new_ilvl/old_ilvl), or is it something else?
|
It's not that easy. But easier than item scaling. I will give you an example:
1. You need some data sources.
The Random Properties Datatable which holds the scaling of items dependend of the quality and slot of the item.
This is the Table i'm using in the UI:
https://github.com/cheald/shadowcraf...Points.dbc.csv
column 0 is the itemlevel
column 1-5 is for epic quality items
column 6-10 is for blue quality items
coumn 11-15 is for green quality items
Relic of Xuen, Epic, itemlevel 476 we found 1930.
Relic of Xuen Upgrade Level 1 , Itemlevel 480, we found 2004
Relic of Xuen Upgrade Level 2 , Itemlevel 484, we found 2080
2. We need the actuall Spell Proc Scaling
The scale number can be found e.g. here
https://simulationcraft.googlecode.c...spell_data.inc
For Relic of Xuen it's 1.5684000254
3. Simple Math
1930 x 1.5684000254 = 3027,012049022 (rounded to 3027)
2004 x 1.5684000254 = 3143,073650902 (rounded to 3134)
2080 x 1.5684000254 = 3262,272052832 (rounded to 3262)
This would also be possible, possible working for trinket procs, but not for items because of rounding issues. So I would suggest to use the above method.
3027 * 2080 / 1930 = 3262,259067358
Hope this helps.