WoW:API UnitAttackBothHands: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(First version)
 
No edit summary
Line 17: Line 17:
:;mainBase : Number - The unit's base main hand attack power
:;mainBase : Number - The unit's base main hand attack power
:;mainMod : Number - Any modifier to the unit's 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
:;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
:;offMod : Number - Any modifier to the unit's offhand attack power



Revision as of 23:42, 15 January 2005

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