
How can I fix this macro to make the floor function work properly? [[((?{MR}/10)+1)d6]] I want whatever I input as MR to be divided by 10, and 1 added to the result. I want that amount to be rounded down and the result to be a number of d6s rolled. For example, if I input the number 37, I want it to perform the following: (37/10)+1 = 4.7, rounded down to 4 and then roll 4d6. The problem is, whenever I put in the floor command, it ignores the d6 entirely and the above example would just result in a static 4. I have tried grouping things with brackets in every permutation I can think of, but I can't seem to get it to work.