Added "dice" library, changed damage to use it.