Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API UnitAttackBothHands

From Wowpedia
Jump to: navigation, search

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 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).