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

Minimum dice rolls

Hi all, I'm trying to see if there's a way of doing a minimum die roll, but so far haven't found an option in the roll macros. Traveller (Mongoose 2nd) has some features on weapons where they have a minimum die roll - i.e., roll xd6, but 1's are treated as 2's, or in some cases 1's and 2's are treated as 3's. The results are then all added together as normal. So a 4d6 roll of 1,2,3,4 would be treated as 2+2+3+4 = 11, or 3+3+3+4 = 13 There are re-roll options (re-roll 1's or 2's), but I can't see any options for a minimum die roll. Am I missing something? Thanks.
1628342421
David M.
Pro
API Scripter
The easiest way to do this is to create a rollable table that is weighted appropriately. So for your "1's treated as 2's" example: Item    weight 2            2 3            1 4            1 5            1 6            1 Then, roll your damage using [[1t[TableName] + 3]] or whatever. For more complicated logic, you might want to try out the Scriptcards api script (I believe you have api access as a KS backer)
The rollable table option seems to work, thanks. And yes, I do have API access.