Returns the unit's melee attack power and modifiers

Signature:

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

Arguments:

  • unit - The unit to get information from. (Does not work for 'target') (string)

Returns:

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