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

[Script] World of Darkness Dice

1544776506

Edited 1544911487
GiGs
Pro
Sheet Author
API Scripter
Since its been asked a lot, I have created a script to roll dice for World of Darkness, here . Using this script: !wodice followed by some text including an inline roll [[7d10]] The above will print out something like this: You can add some optional paremeters at the end, marked with --.  You can set a different difficulty, like so: --7 --difficulty:10 You can change the title that appears at the top, like so --title: a new title --a new title You can get extra success on rolls of 10: --tens You can instead use the newest edition, which grants two extra successes for each pair of 10s, but nothign for a single ten, with either of these: --doubles --tens:2 and finally can sort the dice like so --sort Putting that all together, and you could have !wodice a fancy description of why I'm doing [[12d10]] --a new title --5 --sort --tens:2 which would look like: I hope WOD users find it useful.
1544780989

Edited 1544781239
GiGs
Pro
Sheet Author
API Scripter
You can also of course incorporate @{attributes} if making your own macros, to reuse. Here's a couple of examples: !wodice @{selected|token_name} rolls [[?{How Many Dice?|1}d10]] to attack --tens !wodice @{selected|character_name} rolls [[(@{selected|STR} + @{selected|Brawl} - @{selected|Wounds})d10]] --Brawling --tens
1544845073
GiGs
Pro
Sheet Author
API Scripter
Minor update to fix a bug.  Also added the ability to work with rolls in this syntax: [[7d10>8]] if you find it more natural to supply the difficulty this way over using the "--8" parameter at the end.
1549658892

Edited 1549659360
GiGs
Pro
Sheet Author
API Scripter
Edit: this post and the next were answers to a post that has since been deleted. This one was about how to use the old Specialised skill rule, which gave you an extra d10 roll on 10s You can do that already, if you use ! in the dice roll, for example (Edit: corrected) !wodice @{selected|token_name} rolls [[?{How Many Dice?|1}d10!]] to attack If you want to give the option, this should work: !wodice @{selected|token_name} rolls [[?{How Many Dice?|1}d10?{Specialised?|Yes,!|No, }]] to attack
1549659064

Edited 1549659410
GiGs
Pro
Sheet Author
API Scripter
Edit: this is a response to a deleted question: the poster was apparently getting summed rolls not counting successes. I missed your edit, are you using the proper syntax? You need to include a difficulty, in one of the following two ways: !wodice @{selected|token_name} rolls [[?{How Many Dice?|1}d10?{Specialised?|Yes,!|No, }]] to attack --7 or  !wodice @{selected|token_name} rolls [[?{How Many Dice?|1}d10?{Specialised?|Yes,!|No,}>7]] to attack I'm not sure if that second version will work with the query on Specialised, but it's worth a try.
Thanks for the fast response, that's what I was searching for. One last question. What about results of 1 subtracting successes? I think it is f1 after the difficulty, so 12d10!>7f1 for exploding dice Diff 7 and subtract the 1 results.
1549660358
GiGs
Pro
Sheet Author
API Scripter
Does any edition of vampire still use that? IIRC that was a 1st edition rule that was abandoned as early as 1st edition revised, but I may by mistaken. I don't think I account for that that in the final calculation of successes, but it will be a simple addition if it's still needed. 
1549662561

Edited 1549662811
The Rule of 1 persists through editions 1st till 3rd/ revised edition. Only the nWoD, 4th aka V/W/M20th and V5 don't use it. And to be honest, I like playing the "Revised Editions" while I don't like V/W/M20. I also play V5 but there exists a very good char sheet with possible rolls for it.
1549663738

Edited 1549666513
GiGs
Pro
Sheet Author
API Scripter
I've just added updated the script linked in the OP. add the parameter --ones to the end, like !wodice Alucard rolls [[7d10>7?{Special?|Yes,!|No,!11}]] to use Dominate --ones --title:Fiendish Mind Control Note the ordering of the query. My earlier example made a mistake.  7d10>7?{Special?|Yes,!|No,!11} The !11 under the No option seems to be necessary, it wont accept an empty entry there. Setting it to 11 means rerolls wont happen. If you are using the 7! syntax you need to use it in the inline roll, you can't add it on to the end like --7! I'll improve the display of this when I have more time.
Thx for the fast update and good work!
1549666527
GiGs
Pro
Sheet Author
API Scripter
You're welcome :)