Shadowrun Dice Roller
I wrote a simple dice roller for SR4. It’s a simple javascript program that rolls multiple dice, and calculates the number hits based on a provided target number.
Since it contains no server side code, it can be saved locally and used offline. I wrote it mainly for my personal use, but if anyone finds it helpful, feel free to use it!
Open DiceRoller in New Window
Download File
Last updated on 29 March 2008
Features
- Exploding dice new!
- Keyboard Shortcuts for Insta’Rolling dice with one keypress
- Automatic calculation of hits and ones, as well as the sum of rolled dice
- Color alerts for Glitches and Critical Glitches
Things still missing: Option for Gremlins, nice look and clean code. Maybe a log of some sorts to help with opposed tests.
Changelog
| v0.6 | Exploding dice (for edge) Unlimited number of dice |
| v0.5 | Added shortcut keys |
| v0.4 | Total sum calculation |
| v0.3 | Glitches |
| v0.2 | Sorting |
| v0.1 | First version |
December 4th, 2007 at 5:29
I just didn’t get what the target number was for.
December 4th, 2007 at 12:15
Short answer: It’s used in the role-playing game Shadowrun.
Long answer: The target number is fixed at 5, and to complete a skill test, a player takes a number of six-sided dice equal to the skill and its linked Attribute, and rolls them, counting the number of dice that show 5 or 6 as “hits”. The number of hits is compared to a pre-determined amount (or Threshold) set by the GM for the roll. If the number of hits equals or exceeds the threshold, the roll is a success. - Wikipedia: Shadowrun
May 16th, 2008 at 21:24
Well, there are some things that need changes:
1. for SR4 target number is *allways* 5 (other than in SR3)
2. sum is useless
3. dropdown for threshold?
4. option for extended tests?
October 30th, 2009 at 23:28
This is great! I also like Xerxos’ idea of adding threshold and extended test capabilities, but I don’t mind the summing and changeable TN (just keep the default TN at 5 and we’re good). Beyond that, all you need is an alternate “compact” version for smartphone users and it would be perfect! (I have an iPhone, and this die roller would be real handy at our SR4 game, but the current interface is a bit difficult to use on the iPhone’s tiny touchscreen.) Thanks for making this.
December 31st, 2010 at 16:17
Great dice roller, I will be using it for all my hidden GM rolls.
If you are doing some changes in the future I to would like to see a option for extended test. And I think its a good idea to keep the adjustable target number, since some campaigns may use higher or lower target numbers(even if one plays SR4). A option to quickly be able to do opposed tests would be good as well.
But thus far this is the best dice generator for SR4 I have found. Thanks!
July 24th, 2011 at 12:47
Great tool: simple, lean and mean.
Works on smartphone (windos modile included) as it’s web based.
Now, feature requests ;-)
- manage Gremlins
- multiple rolls of same pool (quick and dirty NPCs management)
- extended tests (i.e. same as above + checkbox for optional cumulative -1 dice pool modifier + cumulative hits + possibly cumulative time based on interval)
July 24th, 2011 at 12:58
looking at the source, (keeping in mind that I’m no javascript expert), I didn’t find recursivity in your “explode” feature. It seems that you reroll each ‘6′ on the first roll, but do nothing if reroll produce new ‘6′.
Am I wrong in my understanding of your code? If I’m right, then that’s a bug, because Rule of six in SR4 states that ‘6′ are rerolled until no new ‘6′ is produced.
Thanks again for this tool, will use it as a GM on my next game session, I’m sure I’ll save a lot of time!
July 25th, 2011 at 7:06
Good catch. That’s a bug.
I’ve been meaning to revisit the program for some time now. This is the perfect reason to do some overhauling.
October 5th, 2011 at 22:01
Just started using your roller for PBP game.
Very clean, like it alot.