Fandom

WoWWiki

API UnitAttackBothHands

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < UnitAttackBothHands

Returns information about the unit's melee attacks.

mainBase, mainMod, offBase, offMod = UnitAttackBothHands(unit);

ParametersEdit

ArgumentsEdit

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

ReturnsEdit

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

Also on Fandom

Random Wiki