added weapons function and added weapon stat to player