Stats on weapons

I was wondering if stats of both weapons affect everything or only if you are using that current?