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

Setting a max/min value on calculated value?

I'm making a sheet for a game that rolls d100 against a target number, success is a roll equal to or less than the target number.  The target number has various values that can bring it above 100 or below 0 but in the system the minimum anything can be reduced to is 5 and the max is 95 (i.e. always a 5 percent change of success or failure).     Any thoughts on how I might be able to handle this?  I don't seem to see an IF like function and to say the roll is below a number or below 6 to succeed etc. This isn't game breaking, it's reasonable to ask the players just to note any roll as such works the way I say above but it would be nice to have roll notifications not have to be second guessed.  Thanks for any feedback
1514166495

Edited 1514167681
vÍnce
Pro
Sheet Author
Maybe something like this to constrain the target number from 5-95 [[ { [[ { [[ SOME ROLL and/or Value ]],5 }kh1 ]] , 95 }kl1 ]] and if I understand your problem... ;-P    This would roll a 1d100 vs the target number [[ 1d100cs<[[ { [[ { [[ SOME ROLL and/or Value ]],5 }kh1 ]],95 }kl1 ]] ]]