made the dices callable from groovy scripts
fixed random that is used in maptool