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

Is this a thing we can do?

Hello I'm playing a Warhammer 40k RPG and in there the weapons can have certain properties that cause various things one of which is called Proven what it does is if the Damage Dice of the weapon roll lower than the number next to it's Proven quality that die roll gets replaced with the number next to proven eg dice rolled a 3 weapon has Proven (4) dice roll gets replaced with a 4. we have gotten this to work with the following formula {d10, d0+4}kh1 but this only works if the weapon rolls only 1 die if it rolls any more than that then it looks like this {d10, d10, d10, d10, d0+4, d0+4, d0+4, d0+4}kh4  Is there a way to boil this down so it isn't taking as much room?
1534976177
The Aaron
Pro
API Scripter
I would suggest setting up Rollable Tables for each of the possible die/Proven values. I’d name them like d10p4 and create them such that the 4 value is weighted 4 and the numbers 5-10 are each weighted 1. Them you can do something like: [[ 4t[d10p4] ]]
well i can pass that on to the people that can actually handle that as I 1. Am not the one that can handle that 2. Was thinking of something more along the lines of a way to have the macro roll a particular formula a specified amount of times (if this already exists I'm a blind man and can't find it so sorry)
1534979005
The Aaron
Pro
API Scripter
I can’t think of another way to handle this without an API script. 
1534979171
The Aaron
Pro
API Scripter
If your GM is a Pro subscriber, I do have an API script for creating these Rollable Tables:&nbsp;<a href="https://app.roll20.net/forum/permalink/950142/" rel="nofollow">https://app.roll20.net/forum/permalink/950142/</a>