Returns information about the player's or pet's melee attack damage


See also Stat information functions.

Signature:

minDamage, maxDamage, minOffHandDamage, maxOffHandDamage, physicalBonusPos, physicalBonusNeg, percent = UnitDamage("unit")

Arguments:

  • unit - A unit to query; only valid for player or pet (string, unitID)

Returns:

  • minDamage - The unit's minimum melee damage (number)
  • maxDamage - The unit's maximum melee damage (number)
  • minOffHandDamage - The unit's minimum offhand melee damage (number)
  • maxOffHandDamage - The unit's maximum offhand melee damage (number)
  • physicalBonusPos - Positive physical bonus (should be >= 0) (number)
  • physicalBonusNeg - Negative physical bonus (should be <= 0) (number)
  • percent - Factor by which damage output is multiplied due to buffs/debuffs (number)