WoW:API UnitDamage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 3: | Line 3: | ||
=== Return Values === | === Return Values === | ||
# | # Main hand low damage | ||
# | # Main hand high damage | ||
# | # Off hand low damage (always returned 0 for me for characters without dual wield ability) | ||
# | # Off hand high damage (same as above) | ||
# Unknown ( | # Unknown, but certainly not ranged, as that is given by UnitRangedDamage("unit"). Perhaps this is a buff number? (Always returned 0 for me) | ||
# Unknown ( | # Again, Unknown, but not ranged. (Always returned 0) | ||
# Unknown (often times holds the value 1) | # Unknown (often times holds the value 1) |
Revision as of 20:04, 15 January 2005
Description
Unit damage returns information about your current damage stats. Doesn't seem to return usable values for mobs, NPCs, or other players. The method returns 7 values, only some of which appear to be useful.
Return Values
- Main hand low damage
- Main hand high damage
- Off hand low damage (always returned 0 for me for characters without dual wield ability)
- Off hand high damage (same as above)
- Unknown, but certainly not ranged, as that is given by UnitRangedDamage("unit"). Perhaps this is a buff number? (Always returned 0 for me)
- Again, Unknown, but not ranged. (Always returned 0)
- Unknown (often times holds the value 1)