NdM = roll N dice with M faces each. +/-K adds a flat modifier.d6, 2d6+3, 4d8-1, 10d10+5.N Γ (M+1)/2 + K. Min/Max: NΓ1+K / NΓM+K.random_int() for uniform, secure randomness.d20 Γ 10).2d6 + 3 equals 2d6+3.2D6 = 2d6.Choose which optional categories you allow. Necessary cookies are always on. Privacy Policy.