I'm trying to create what I think is a simple formula in Anydice and struggling to figure it out.
I roll a 20-sided dice, add a number x, and want to know the odds that the number will be greater or equal to a number between 5 and 25. For those who play D&D, basically:
If a fighter has a +8 to hit, what is the percentage chance that he'll hit AC 5-25?
I think this is it, but he never fully shows the entire formula, and when I copy it into anydice, it keeps returning an error: https://anydice.com/articles/dnd4-attacks/
Thanks in advance!