Updated some weapon functions.