Changes to weapons.lua

Changed the way dice are handled, and added some comments