RatingBuster

269 - Item Level Comparison

Whit the Itemlevel getting more and more important in recent addons it would be a great feature to add the itemlevel to the summary tooltip.

Let's say you are wearing a two-handed sword with ilvl 440 and you hover over another one with ilvl 463 it would say something along the lines

  • Itemlevel:..........................463 (+23)

Another feature would be how the average itemlevel of your gear is affected. For example, if your average ilvl is 440 and you change the 440 sword for a 463 sword you would get an average itemlevel increase of ( 463 - 440 ) / 15 = 1,533... So it could say something like

  • Average Itemlevel: ............442 (+1,53)

.................................................................................................................................................

I've been working on coding this for the last few hours, but I'm not really familliar with LUA and I'm still trying to figure some things out with LibStatLogic. I was able to add the option to show the itemlevel in the summary portion of tooltip but I can't seem to get your calcDiff function to accept the itemlevel as a stat for the difference calculation. I'm guessing once I figure this out the rest is childs play.

Any and all advice would be well appreciated.

User When Change
Tiiara Nov 09, 2012 at 02:57 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Tiiara Tiiara Nov 09, 2012 at 08:40 UTC - 0 likes

    5 hours later, 9am in the morning but I finally did it. I'll clean up the code and post my solution. God I love this addon even more now

  • 1 comment

Facts

Reported
Nov 09, 2012
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees