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 .
×

[Script] BashDice -- BashDice UE Roll mechanics

1419792020
The Aaron
Pro
API Scripter
This script is a result of a request in this post: <a href="https://app.roll20.net/forum/post/1455955/request-" rel="nofollow">https://app.roll20.net/forum/post/1455955/request-</a>... Commands: !bash [Multiplier] -- Rolls 2d6 with the dice mechanics for Bash UE (reroll while all the same number, sum, multiply by multiplier.). !bd -- alias for !bash. !gbash -- like !bash except it is whispered to the GM. !gbd -- alias for !gbash. Examples: !bash 5 This is a pretty minimal script, so let me know if it needs more. (Thanks to Brian and HB for the dice formatting code I heisted from the PowerCard script.. =D) GIST: <a href="https://gist.github.com/shdwjk/bcbab15465b8a13330e" rel="nofollow">https://gist.github.com/shdwjk/bcbab15465b8a13330e</a>...
Thank You so much for this. I'm looking forward to testing it out.
1419793098
The Aaron
Pro
API Scripter
No worries! Let me know if you need anything added or need any help!
The script works perfectly thanks. I'm rereading the rules and trying to apply them in roll20 and wondered if it would be possible to add a couple of thing to the script. 1. Initiative (add to tracker) Initiative is a standard bash roll of 2d6 x multiplier, based of initiative. Could this roll be made and add the token to the tracker? 2. Resist Bonus / Penalty A number that is added/subtracted from the total result of the 2d6 roll before multiplying. 3. Damage Multiplier A second multiplier applied after the original roll plus multiplier. 4. Trait = 0 When using a multiplier of 0, roll only 1d6 when making any roll. It explodes only on a result of 6. 5. Skill Speciality Roll Bash dice twice with multiplier and keep the highest roll. I can think of non scripted solutions for some of these but not others: 1. Initiative - unsure 2. Resist Bonus / Penalty - unsure 3. Damage Multiplier - A calculation macro with a prompted query as to the original Bash roll. 4. Trait = 0: As no multiplier applies this could be handled with a standard macro. However if I put together a character sheet for the game I would need to include a separate roll button for Trait=0 rolls. As players would have different Trait values I would attach the Bash dice command to there Trait roll buttons - this is not a real issue. 5. Skill Speciality - roll Bash dice twice and pick the highest roll to use. Thanks for looking this over.
1419878083
The Aaron
Pro
API Scripter
Should be possible. I'll take a look tonight or so.
Appreciate it.