Switched to new ROT.RNG.getUniformInt function for random numbers