Updating addon to work with new stat DRs
Ok, so I'm trying to think of a way to integrate the new diminishing returns on secondary stats into my addon's calculations so that it shows the correct numbers.
Currently, since everything is linear all I have to do is pull the amount of a secondary stat that the item gives from the stats table returned by GetItemStats, and divide it by the amount of rating per 1% at your current level. Now with the diminishing returns, it seems like its going to get a lot more complicated to present the actual percentage that an amount of a particular stat on an item will actually give you. So using this table as my guide: Code:
From 0 to 25%, there's no penalty.
This seems like the most logical way to accurately calculate the conversion from ratings to percentages, in my mind at least. Anyone have any more streamlined ideas, or see any major flaws in my logic? Also, in regards to mastery, if I read everything right, the DR applies to the formula prior to multiplying by the mastery coefficient? Anyone know for sure? Thanks in advance. |
All times are GMT -6. The time now is 03:13 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI