m
Move page script moved page API UnitAttackBothHands to WoW:API UnitAttackBothHands without leaving a redirect
(First version) |
m (Move page script moved page API UnitAttackBothHands to WoW:API UnitAttackBothHands without leaving a redirect) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
Returns information about the unit's melee attacks. | Returns information about the unit's melee attacks. | ||
mainBase, mainMod, offBase, offMod = UnitAttackBothHands(unit); | |||
==Parameters== | |||
===Arguments=== | |||
:;unit : String - The [[API TYPE UnitId|UnitId]] to get information from. (Verified for <tt>"player"</tt> and <tt>"target"</tt>) | :;unit : String - The [[API TYPE UnitId|UnitId]] to get information from. (Verified for <tt>"player"</tt> and <tt>"target"</tt>) | ||
===Returns=== | |||
:;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). | |||
:;mainBase : Number - The unit's base main hand | |||
:;mainMod : Number - Any modifier to the unit's main hand | |||
:;offBase : Number - The unit's base offhand | |||
:;offMod : Number - Any modifier to the unit's offhand | |||