Returns information about the player's or pet's weapon skill

See also Stat information functions.


mainHandAttackBase, mainHandAttackMod, offHandHandAttackBase, offHandAttackMod = UnitAttackBothHands("unit")


  • unit - A unit to query; only valid for player or pet (string, unitID)


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