WoW:API UnitDamage

From AddOn Studio
Revision as of 14:13, 28 November 2004 by WoWWiki>DigiTec
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

  1. Low damage melee (tested appears correct)
  2. High damage melee (tested appears correct)
  3. Low damage unarmed (untested, 0 on a Paladin, actual number on a Priest)
  4. High damage unarmed (untested, 0 on a Paladin, actual number on a Priest)
  5. Unknown (perhaps ranged)
  6. Unknown (perhaps ranged)
  7. Unknown (often times holds the value 1)