Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API UnitAttackPower

Last wiki revision 2023-06-20

Returns the unit's melee attack power and modifiers. base, posBuff, negBuff = UnitAttackPower(unit)

  • unit: : UnitId - The unit to get information from. (Does not work for - Possibly only and )
  • base: - The unit's base attack power
  • posBuff: - The total effect of positive buffs to attack power.
  • negBuff: - The total effect of negative buffs to the attack power (a negative number)

Displays the player's current attack power in the default chat window.

Source

https://warcraft.wiki.gg/wiki/API_UnitAttackPower · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.