And also:You may also think of this function as a method of generating a random number between times and times*sides.
So, does roll() really work like that (the same as a rnd(start, end) function would work in most programming languages)? If it does, I'll have to work on some serious redefinition of macros, because rolling 5d10 is definitely not the same as rolling a "d46+4", as far as result distribution goes...Roll five ten-sided dice, using variables.Returns a number than is between 5 and 50.Code: Select all
[h: DiceTimes = 5] [h: DiceSides = 10] [t: roll(DiceTimes, DiceSides)]
Can anyone with "programmer knowledge" clarify if roll() works as "expected" (2d6 yields a '7' six times more often than a '12')?