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 .
×
Create a free account

[New Scripts] Critical and Fumbler

I hope you find these useful. Both scripts can be used as a one-click-install in the Roll20's script dropdown under the Character section. Critical - A quick method of determining the outcome of a critical hit. Fumbler - A quick (and often humorous) method to determine what happens to your players when they fumble. Also, the  Markov script I created earlier last year is now available as a one-click-install.
I have been using a rollable table to generate Crits and fumbles, this is a nice change, thanks.
Thanks al e.  I originally used rollable tables, but I found these awkward and tedious. I am currently working on letting users create fumbler handouts that have their own charts in JSON format. For example you can create a handout named fumbler-disaster with your chart in the Notes and use it in the chat as: !fumble disaster 92 92% Unaware idiot Hit friend, normal damage.   See my  fork of Roll20Scripts for my progress.
When I try to use a handout it returns an error: "The fumble chart handout has errors: Unexpected token X" (Where X is the first letter in the chart so the l in low) Any idea what could be causing that?
1486852409

Edited 1486853848
Ryan J.
API Scripter
What does your JSON look like? Make sure it is in standard format by pasting into something like <a href="http://jsonlint.com&nbsp;--" rel="nofollow">http://jsonlint.com&nbsp;--</a> Also in your handout make sure you choose code format for your JSON. The JSON code should look like this <a href="https://github.com/RyanNerd/roll20-api-scripts/blo" rel="nofollow">https://github.com/RyanNerd/roll20-api-scripts/blo</a>... This is the default fumble chart.&nbsp;
1486885292

Edited 1486888406
Paladin R.
Marketplace Creator
I am having the same problem as well. Here is a picture. I copied the text raw. Here is a different picture on a second attempt that did not work either.