WoW API: GetAverageItemLevel

From AddOn Studio
Revision as of 14:12, 14 January 2012 by WoWWiki>Transienttuna
Jump to navigation Jump to search

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

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

Example

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