Returns information about the player's or pet's weapon skill
See also Stat information functions.
Signature:
mainHandAttackBase, mainHandAttackMod, offHandHandAttackBase, offHandAttackMod = UnitAttackBothHands("unit")
Arguments:
unit- A unit to query; only valid forplayerorpet(string, unitID)
Returns:
mainHandAttackBase- The unit's base weapon skill for the main hand weapon (number)mainHandAttackMod- Temporary modifiers to main hand weapon skill (number)offHandHandAttackBase- The unit's base weapon skill for the off hand weapon (number)offHandAttackMod- Temporary modifiers to off hand weapon skill (number)