Returns the player's or pet's melee attack power


See also Stat information functions.

Signature:

base, posBuff, negBuff = UnitAttackPower("unit")

Arguments:

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

Returns:

  • base - The unit's base attack power (number)
  • posBuff - Total effect of positive buffs to attack power (number)
  • negBuff - Total effect of negative buffs to attack power (number)