no edit summary
(Update to Example and Arguements) |
No edit summary |
||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Return the internal Blizzard calculated overall and equipped Item Levels for the current player. | |||
{{wowapi}} | {{wowapi}} | ||
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | ||
GetAverageItemLevel() | overall, equipped = GetAverageItemLevel() | ||
== Arguments == | |||
None | None | ||
- | == Returns == | ||
; | ; overall : Number - Total calculated Item Level of gear(bags and equipped). | ||
; equipped : Number - Calculated Item Level of equipped gear. | |||
: | |||
== Example == | |||
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | ||
print("Average iLevel is: " .. GetAverageItemLevel()) | print("Average iLevel is: " .. GetAverageItemLevel()) | ||