
Hey guys, I am trying to do the following. When I roll a dice I need the 1d100 roll to be under the skill number. so if the skill is 10 it needs to roll 10 or under if the skill is 160 it needs to be 99 or lower (100 is a cf) Now comes the complicated part I am not looking for a number of successes as I want to have a print out that it fails or succeeds /me &{template:Skill}{{name=attempts to find something through Investigation}}{{roll=[[1d100+100-@{Investigation_total}-@{Awareness_Temporary_Modifier}cs<[[1+@{Critical_Hit_Chance_Total}]]cf>[[99]] ]]}} That is the roll (just an example) <rolltemplate> <td> <!-- Skill dice here --> {{name}} {{#rollLess() roll 99}}<td><b>and Succeeds</b></td>{{/rollBetween() roll 99}} {{#rollGreater() roll 100}}<td><b>and Fails</b></td>{{/rollGreater() roll 100}} {{#rollWasFumble() roll}}<td><b> Critically!</b></td>{{/rollWasFumble() roll}} {{#rollWasCrit() roll}}<td><b> Critically!</b></td>{{/rollWasCrit() roll}} </td> </tr> </rolltemplate> That is the template I have tried everything to get this to work, but it simply will not function how I want it to, meaning I must be doing something wrong. the reason I added the 100 in the formula was to turn the numbers around, so instead of rolling 1d100-10 which would mean a 10% fail chance I wanted 1d100-(100-10) or 1d100-90 meaning 10% success...but I think I did this wrong and for skills above 100 that would be 1d100-(100-160) or 1d100--60 or 1d100+60...which would be bad, since lower numbers are good. Does this make sense and if so, does anyone know how to solve this problem?