Wikia

WoWWiki

Changes: API GetAverageItemLevel

Edit

Back to page

 
Line 11: Line 11:
   
 
== Returns ==
 
== Returns ==
; overallIlvl : Number - Total calculated Item Level of gear(bags and equipped).
+
; overall : Number - Total calculated Item Level of gear(bags and equipped).
; equippedIlvl : Number - Calculated Item Level of equipped gear.
+
; equipped : Number - Calculated Item Level of equipped gear.
   
 
== Example ==
 
== Example ==

Latest revision as of 14:12, January 14, 2012

WoW API < GetAverageItemLevel

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

WoW API < GetAverageItemLevel
overall, equipped = GetAverageItemLevel()

Arguments Edit

None

Returns Edit

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

Example Edit

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

Around Wikia's network

Random Wiki