WoW:API UnitDamage

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. Main hand low damage
  2. Main hand high damage
  3. Off hand low damage (always returned 0 for me for characters without dual wield ability)
  4. Off hand high damage (same as above)
  5. positive physical Bonus (should be >= 0)
  6. negative physical Bonus (should be <= 0)
  7. percentage modifier (usually 1)