So I'd like to try and add a function to RatingBuster that will take sum spell crit rating, sum spell damage, sum spell haste rating, sum spell hit rating, sum intellect, and sum spirit and apply a formula to indicate the total dps gained based on theorycraft, and display that in the item window.
So, I'm mostly wondering if someone can show me how you add a line of information into an items window, and if possible, specifically how ratingbuster is doing it. If there's a tutorial out there that touches on this specifically I'd really appreciate a link to it.
the formula would look something like this:
(sumSpellHitRating * 1.66) + (sumSpellDmg * 1.46) + (sumSpellCritRating * .57) + (sumSpellHasteRating * .87) + (INT * .3) + (SPI * .45)
My (limited) understand is these are the variables used, so I just need add this with in the proper format.