Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API UnitAttackBothHands

From WoW Classic Wiki
UnitAttackBothHands -Documentation by Flickering-
mainBase, mainMod, offBase, offMod = UnitAttackBothHands("unit");

Returns information about the unit's melee attacks.


Arguments
("unit")
unit
String - The UnitId to get information from. (Verified for "player" and "target")

Returns
mainBase, mainMod, offBase, offMod
mainBase
Number - The unit's base main hand attack power
mainMod
Number - Any modifier to the unit's main hand attack power
offBase
Number - The unit's base offhand attack power (equal to unarmed weapon skill if unit doesn't dual wield)
offMod
Number - Any modifier to the unit's offhand attack power

Template:WoW API