It seems like every macro that I try that is supposed to calculate my average item level is not accurate. That is, it does not match up with what the default UI's dungeon finder is telling me. For example this one:
When the dungeon finder was telling me my average item level was 160, this macro was saying it was something like 139.3949. Why is it so far off? Are there any macro's that do it correctly?
/run local t,c,u,k=0,0,UnitExists("target")and"target"or"player"for i=1,18 do k=GetInventoryItemLink(u,i)if i~=4 and k then t=t+select(4,GetItemInfo(k))c=c+1 end end c=c>0 and print(t/c)
Also, how is the average item level officially calculated? Does it use item's in your bag? Does it use items in your bank? I noticed that when I de-equipped an item, like a chestpiece and left that slot blank, the average item level did not change, that makes me think it uses what is in your bag too... Anyone have any clue? I don't see any equations on wowwiki for this.