Tratz said: GiGs said: There is a way to do this, but its a bit convoluted. Set of a rollable table, with the name 3d6. Set its items and probabilities as
Item:
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Weight:
1
3
6
10
15
21
25
27
27
25
21
15
10
6
3
1
Then use this macro /gmroll {1t[3d6]-(?{Modifier|0})}<?{Number to Beat|14} or /gmroll {1t[3d6]}<[[?{Number to Beat|14}+(?{Modifier|0})]] I assume the modifier is supposed to make it easier to succeed which is why the it has a negative in the first version. Note that the macro uses < , not <= : in roll20, < means "less than or equal". <= is not valid syntax. There's a lot to unpack here! I appreciate your feedback. I see you're a pro/sheet author. I'm embarrassed to admit that I'm far stronger with HTML/CSS/JS than I am with whatever syntax we're parsing here. An unrelated question: How much freedom do you have once you've learned the API? Actually what I'm proposing isnt coding at all. In the macros sidebar, at the bottom is the Rollable Tables section. as in the rightside of this screenshot: Just create a new table, and click on the new table to get the form shown at the top left. Set its name to 3d6. Then Add Items: you'll get a popup as on the bottom left. In the name column, enter 3, in the weight column enter 1. And save it. Then add item again, enter 4 and 3 respectively. Save it. And so on until you;ve gone through all the 3-18 results as shown in my previous post. Then Save Changes on the table and you're ready to use the macro i posted.