Fixes some bugs with the weapons not being compatible with the new damage functions.