Essentially, you are recreating coin flips, except the 50/50 odds are shifted one way or another.
Coin flipping is even easier to model. It is a binomial distribution with probability of success p=0.50.
Essentially, you are recreating coin flips, except the 50/50 odds are shifted one way or another.
Example: 3d6 vs 4 rolling 1, 4, 5 is two successes.
I've been able to work out equations so far to calculate the odds of rolling X number of successes on Y dice with Z target value, varying number of dice, size of dice, number of successes and target value.
My 'trials' are dependent on one another though - the first success has a probability of x, but once that occurs, subsequent trials have success probabilities of y where x>y; maybe even a third probability z where y>z.
I've done a couple such bonus 'calculations' the hard way by writing out all possible die results and counting successes by hand with the bonus included and know that it flattens the curve out and seriously ups your odds of getting ANY successes, but I'd like to find a function for this rather than writing out dice combos.
p average number of attacks to hit
0.50 2
0.45 2.22
0.40 2.5
0.35 2.86
0.30 3.33
0.25 4
0.20 5
0.15 6.67
0.10 10
0.05 20