Wikia

WoWWiki

API GetAverageItemLevel

Talk0
101,555pages on
this wiki
Revision as of 14:11, January 14, 2012 by Transienttuna (Talk | contribs)

WoW API < GetAverageItemLevel

Return the internal Blizzard calculated overall and equipped Item Levels for the current player.

WoW API < GetAverageItemLevel
overall, equipped = GetAverageItemLevel()

Arguments

None

Returns

overallIlvl 
Number - Total calculated Item Level of gear(bags and equipped).
equippedIlvl 
Number - Calculated Item Level of equipped gear.

Example

print("Average iLevel is: " .. GetAverageItemLevel())

Around Wikia's network

Random Wiki