
I am working on a character sheet for my Basic Roll Playing-based campaign and am trying to mark a skill roll of under 20% of the skill as a critical success.
Currently I am using:
<button type="roll" name="roll_Administration_Roll" value="&{template:default} {{name=@{character_name}}} {{Administration=[[1d100cs<@{Administration}cf>99]] / @{Administration}}}"/>
Which marks any success as a critical. What I want is something like this:
<button type="roll" name="roll_Administration_Roll" value="&{template:default} {{name=@{character_name}}} {{Administration=[[1d100cs<(@{Administration}/5)cf>99]] / @{Administration}}}"/>
... which doesn't work at all.
Does anyone know how to format this so that a roll under 1/5 of an attribute will be marked as a critical success?
Thanks!