Wikia

WoWWiki

API UnitAttackBothHands

Talk0
101,555pages on
this wiki
Revision as of 20:04, December 23, 2006 by Starlightblunder (Talk | contribs)

WoW API < UnitAttackBothHands

Returns information about the unit's melee attacks.

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

Parameters

Arguments

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

Returns

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.

Around Wikia's network

Random Wiki