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

Modified Storyteller system

I run a Storyteller System game, using the d10 system and checking against successes.  Our standard roll is: /em rolls [[{?{Number of Dice|5}d10s}>?{Difficulty|6}f1]] successes We've home-ruled the specialisation system though in order to smooth out the pain of botching (rolling no successes and at least one 1).  Someone who is specialised in an area (4 dots or more) can ignore the first 1 they roll.  If they are specialised in both their attribute and their skill relating to the roll, they can ignore the first two 1s they roll. We currently deal with our house rules by hovering over the dice rolled and recalculating the result manually, which works fine. But, it would be great to have a dice macro that in addition to collecting the number of dice and difficulty, also collected a "Specialised?" variable and then ignored 0, 1 or 2 of any "1's" accordingly. Even better would be one that checked to make sure that you had no successes and rolled at least one 1 (after specialisation), and returned "Eek, botch!" or whatever. I've tried poking around the macro guide, but couldn't see a way to do it.  Is it easy/possible? Thanks in advance
1589587389
Pat S.
Forum Champion
Sheet Author
This is a type of "if" dice roll x "then"  count/roll/do this. The standard dice engine does not do if then types of arguments so you will probably need an API script which is a pro feature.
1589588273
Andrew R.
Pro
Sheet Author
I think the PowerCards API script would let you do this easily. <a href="https://wiki.roll20.net/Script:PowerCards" rel="nofollow">https://wiki.roll20.net/Script:PowerCards</a>
Thanks both.&nbsp; I'll have a further poke around.
1589639977

Edited 1589640031
GiGs
Pro
Sheet Author
API Scripter
Pat is right - there is no way to do this without the API, which is a Pro subscriber feature. (Power Cards is a script that uses the API.) As Pat says, standard macros cannot handle conditional analysis. Your effects of different specialty levels cannot be handled, so there's no point having a look around. The only thing you can do is have your dice sorted, but you're already doing that.&nbsp;