
I'm working on a RuneQuest style roll template, and I'm encountering some weird behavior. I have this block of rollBetweens but it never works with the variable properties passed in and only works with literal numbers: {{#rollBetween() roll 1 crit}}Critical{{/rollBetween() roll 1 crit}} {{#rollBetween() roll crit special}}Special{{/rollBetween() roll crit special}} {{#rollBetween() roll special success}}Sucess{{/rollBetween() roll special success}} {{#rollBetween() roll success fumble}}Fail{{/rollBetween() roll success fumble}} {{#rollBetween() roll fumble 100}}Abdomen{{/rollBetween() roll fumble 100}} Here's an example of how I'm calling it: &{template:skillroll} {{name=@{Ainaadroj Dosh|character_name}}} {{skillname=Intelligence (INT)}} {{success=@{Ainaadroj Dosh|int_current}}} {{fumble=@{Ainaadroj Dosh|int_fumble}}} {{special=@{Ainaadroj Dosh|int_special}}} {{crit=@{Ainaadroj Dosh|int_crit}}} {{roll=[[1d100]]}} I can tell that the variable properties passed in are correct because they're showing up in the rest of the text and also with "allProps". Side note, "allProps" appears to capitalize the first letter of each property. I've tried removing all but one of the rollBetween lines and also changing them to literal values. It only works with two literal values such as the following which will display "Critical" when the roll is between 1 and 75. {{#rollBetween() roll 1 75}}Critical{{/rollBetween() roll 1 75}} Am I stepping on keywords or something? This similar roll template block of rollBetween statements works just fine. And I do realize that my critical/special/success/fail/fumble block above will run into boundary issues and I will fix it in a way similar to what I did here by passing in twice as many variables. {{#rollBetween() roll 1 head}}Head{{/rollBetween() roll 1 head}} {{#rollBetween() roll head1 rightarm}}Right Arm{{/rollBetween() roll head1 rightarm}} {{#rollBetween() roll rightarm1 leftarm}}Left Arm{{/rollBetween() roll rightarm1 leftarm}} {{#rollBetween() roll leftarm1 chest}}Chest{{/rollBetween() roll leftarm1 chest}} {{#rollBetween() roll chest1 abdomen}}Abdomen{{/rollBetween() roll chest1 abdomen}} {{#rollBetween() roll abdomen1 rightleg}}Right Leg{{/rollBetween() roll abdomen1 rightleg}} {{#rollBetween() roll rightleg1 leftleg}}Left Leg{{/rollBetween() roll rightleg1 leftleg}}