WoW:API UnitAttackBothHands: Difference between revisions
Jump to navigation
Jump to search
({{wowapi}}, format) |
m (Move page script moved page API UnitAttackBothHands to API UnitAttackBothHands without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
:;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=== | ===Returns=== | ||
:;mainBase : Number - The unit's base main hand | :;mainBase : Number - The unit's base main hand weapon skill (not rating). | ||
:;mainMod : Number - Any modifier to the unit's main hand | :;mainMod : Number - Any modifier to the unit's main hand weapon skill (not rating). | ||
:;offBase : Number - The unit's base offhand | :;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 | :;offMod : Number - Any modifier to the unit's offhand weapon skill (not rating). |
Latest revision as of 04:47, 15 August 2023
← WoW API < UnitAttackBothHands
Returns information about the unit's melee attacks.
mainBase, mainMod, offBase, offMod = UnitAttackBothHands(unit);
Parameters[edit]
Arguments[edit]
- unit
- String - The UnitId to get information from. (Verified for "player" and "target")
Returns[edit]
- 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).