Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

2d20 /roll for Star Trek, Conan, etc.

I read a couple of threads, but have yet to find a correct answer for parsing a /roll command for the 2d20 system. Simplistically, roll X d20's (2-5 usually), and you generate 1 success if you roll equal to or less than your skill number. IN ADDITION, you have a focus value (kind of like a critical threat range) from 0 (sometimes) but usually 1-4. If your roll ALSO was within the focus range, it generates a success IN ADDITION to the one generated for rolling <= to your skill number. So, for instance, if you rolled 3d20, skill of 16 and a focus of 3, and your rolls were: 2, 8, 17... you'd get 3 successes: 2 for the 2 (one for <= skill, and one for <= focus), and one for the 8 (<= focus). Any help is appreciated. Thanks.
1498783356
The Aaron
Pro
API Scripter
Not really possible without the API.  The best you could likely do is create specialized Rollable Tables with the correct value and weight.  For your example: Table: d20s16f3 0: 4 1: 13 2: 3 Rolled: [[3t[d20s16f3]]] That would give you the right total and weights, but would take a bit of work to set them all up.
-If- I were to spring for access to API, how would the solution to my problem look like? It may convince me to splurge. Thank you.
1498790288
The Aaron
Pro
API Scripter
It would look like a custom script that takes as an argument the number of d20s, skill level and focus level, then outputs the results to the chat. &nbsp;Someone would have to write it, but it could be pretty simple. &nbsp;I've written several dice mechanics scripts. &nbsp;Here are a few examples: •&nbsp; <a href="https://app.roll20.net/forum/permalink/2095183/" rel="nofollow">https://app.roll20.net/forum/permalink/2095183/</a> •&nbsp; <a href="https://app.roll20.net/forum/post/2968252/script-m" rel="nofollow">https://app.roll20.net/forum/post/2968252/script-m</a>... •&nbsp; <a href="https://app.roll20.net/forum/post/4131773/script-t" rel="nofollow">https://app.roll20.net/forum/post/4131773/script-t</a>...
Ah, very good - thank you very much!
I recommend shooting for an API option (in order to also benefit any future players who also want such an option!), but you could also try this limited macro that I wrote.