const gsl_rng* rng; // RNG objectdouble prob; // Probability of dropping each item, 0..1unsigned int quantity; // Number of items in the stack.// ...unsigned int number_dropped = gsl_ran_binomial (rng, prob, quantity);
success = skill - difficulty + Gaussian