LibItemLevel-1.0

Items often aren't the item level that GetItemInfo claims. This is because of:

  • Upgraded items
  • Legion Artifacts
  • Timewalking scaling
  • Overall post-7.3.5 world reward scaling

But sometimes you still want to know what level they are. This is easy enough with tooltip scanning, but has certain pitfalls it's easy to miss. So, this library does that for you.

Example of use:

LIL = LibStub("LibItemLevel-1.0") -- ilvl of the item in slot 6 of the backpack: print(LIL.GetItemLevel(0, 6)) -- ilvl of an item by id print(LIL.GetItemLevel(12345)) -- ilvl of an item in an inventory slot print(LIL.GetItemLevel("HeadSlot")) -- ilvl of an item by item link print(LIL.GetItemLevel("item:12345"))


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    287673
  • Created
    Feb 18, 2018
  • Last Released File
    Aug 16, 2018
  • Total Downloads
    494
  • License

Categories

Members

Recent Files