API UnitAttackSpeed

Returns the unit's melee attack speed for each hand. mainSpeed, offSpeed = UnitAttackSpeed("unit");

Arguments

 * unit : UnitId - The unit to get information from. (Verified for  and  )

Returns

 * mainSpeed : Number - The unit's base main hand attack speed (seconds)
 * offSpeed : Number - The unit's offhand attack speed (seconds) -  if the unit has no offhand weapon.