-I made 2 different programs (1 in js and html, and 1 in autoit) to calculate my item level, and they both say 373.4
-I manually calculated my item level and it also says 373.4
-I made an error in one of my calculations and accidentally put 14 items instead of 15 items and got the same ilvl that i see on the armory and ingame
I strongly believe that the game is calculating my item level using 14 items instead of 15, holding me back by 1 entire item level.
I think i may have figured this out, can someone confirm that it counts a two-handed weapon as two items?
If that is the case, it would be counting my weapon twice and bringing the total to 16 items not 15, and its 15 actual items, so this makes sense if it is the way it is currently being calculated, but logically does not make any sense when you look at how averages are calculated:
total/number of items
total = 5602
number of items = 15
total/number of items = 373.46
I think it is actually being calculated like this:
total = 5967
number of items = 16
total/number of items = 372.93
2 hand weapons are duplicated into the off hand slot when average item level is calculated but the total equip items is averaged over 15 slots. Your in game item level should be shown as 372.8 based on what I see on your armory.
He actually meant 16 slots, since there are 16 slots that count in ilvl:
Head
Necklace
Shoulders
Chest
Back
Bracers
Gloves
Belt
Legs
Boots
Ring 1
Ring 2
Trink 1
Trink 2
Weapon 1
Weapon 2
Cloning the ilvl of a two-hand weapon into the Weapon 2 slot and using 16 slots works out the way you analyzed: 372.9375. That would mean that 4/5 rounding is not in effect for ilvl calculations; it appears to be simple integer truncation.
That truncation effect makes it hard to know for sure whether itâs the â16 slots (dupe weapon)â or some other algorithm, but you can do an experiment by unequipping a couple of higher value pieces and doing the calculations based on whatâs left (unequipped slot == 0).