fix dc_dice method to work with ruby 193 and inv tables