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

Having rolls drop 4's (and only 4's)

1667307978
Yui V.
Pro
Sheet Author
Hi,  I'm tinkering with the Kuro system, and it has a great oddity: it's a d6 pool system where you add all die results(and explode 6s), but if a die rolls a 4, it is dropped: its value isn't added to the total. I've got everything right except for dropping 4s. I'm searching for a non-API solution, as it will be in a character sheet. For now, I'm using inline rolls with Xd6!cf4 so if 4s show up in the roll, it's visible, but that's not ideal. Do you have any idea?
1667311249
The Aaron
Roll20 Production Team
API Scripter
I can't come up with a way to do that without a Mod Script.  You could create a Rollable Table with 1,2,3,0,5, and 6, but you can't explode that.  
1667312160
Gauss
Forum Champion
Like The Aaron, I cannot come up with a solution, but I can improve upon your workaround:  You can have it sort so you know exactly where to look for each 4 to exclude: Xd6!cf4sd
1667312297
Yui V.
Pro
Sheet Author
Indeed. I don't believe there's a way to display individual dies and  their result in a roll template, without Mod Script, nor that there's a way to get /roll to display on one line or in a roll template, are there?
If you are creating/modifying a character sheet you may want to consider Custom Roll Parsing . That should give you similar flexibility to a Mod script but it'll be available to anyone who uses the character sheet irrespective of their subscription level.
1667406252
Yui V.
Pro
Sheet Author
RainbowEncoder said: If you are creating/modifying a character sheet you may want to consider Custom Roll Parsing . That should give you similar flexibility to a Mod script but it'll be available to anyone who uses the character sheet irrespective of their subscription level. Thank you, I fiddled with roll parsing and I found ways to do it. I roll each die individually and add them in another inline roll, after having the script compare the results to 4, and if they match, add 0 to Total instead of 4. I'm having trouble though, I'm trying to switch the color of crit fails in the inline roll tooltip. I'm using Legacy Sanitization. .sheet-rolltemplate-test .sheet-results .inlinerollresult .basicdiceroll.critfail { color:#7f8688; } Here's what I tried, I tried ".inlinerollresult.critfail" too, it doesn't work... I snipped those class names from Oosh's post ( Blue Dice on /r Rolls and Inline Tooltips ), but I can't make it work, the critFails in the tooltip stay red... Am I doing something wrong? Maybe I should make another post, since it's css wizrdry and not dice reference anymore. Thank you