Quantcast GetItemInfo and GetDetailedItemLevelInfo returns weird iLvl values - WoWInterface
Thread Tools Display Modes
10-09-18, 03:07 PM   #1
doofus
A Wyrmkin Dreamwalker
Join Date: Feb 2018
Posts: 59
GetItemInfo and GetDetailedItemLevelInfo returns weird iLvl values

I have been using GetItemInfo() to get an item's ilvl. However recently (in BfA I presume) I get weird values.

So for example I have a ring which says ilvl = 252 on the tooltip. GetItemInfo() returns ilvl=300. GetDetailedItemLevelInfo() returns effectiveiLvl = 273 and baseILvl = 300.

This is weird and confusing. Can anyone shine some light on this please?
  Reply With Quote
10-09-18, 03:33 PM   #2
MuffinManKen
A Black Drake
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 81
What item is it?

What are you passing to those functions? Item string? Item id? Item link?
  Reply With Quote
10-09-18, 03:45 PM   #3
doofus
A Wyrmkin Dreamwalker
Join Date: Feb 2018
Posts: 59
This is happening with multiple items below iLvl=310 which you get from normal dungeons at level 120. But there are also players who are < 120 and the game adjusts their loot to be lower iLvl or there are greens, BoE, showing level 120, iLvl=266 (tooltip), but base ilvl = 280, and ilvl=280 (from GetItemInfo()). So it seems it is kind of f*cked.
  Reply With Quote
10-09-18, 03:54 PM   #4
doofus
A Wyrmkin Dreamwalker
Join Date: Feb 2018
Posts: 59
Wink

Ah, I am passing itemLink from
local infoType, itemID, itemLink = GetCursorInfo()
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » GetItemInfo and GetDetailedItemLevelInfo returns weird iLvl values

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off