Returns information about the player's or pet's ranged weapon skill
See also Stat information functions.
Signature:
rangedAttackBase, rangedAttackMod = UnitRangedAttack("unit")
Arguments:
unit- A unit to query; only valid forplayerorpet(string, unitID)
Returns:
rangedAttackBase- The unit's base ranged weapon skill (number)rangedAttackMod- Temporary modifiers to ranged weapon skill (number)