Added text for 90-99 failure

This commit is contained in:
Chris Schmalz
2024-02-11 16:35:01 -08:00
parent 716d32c540
commit 7dda359fdb
+7 -3
View File
@@ -12,10 +12,14 @@
{{{parsedRollResult.outcomeHtml}}}
<div class="description" style="margin-bottom: 10px;">
<div class="body">
{{#if (compare 'int' skillValue '>' 0)}}
You {{{outcomeVerb}}} less than your <strong>{{{attribute}}}</strong> plus <strong>{{{skill}}}</strong> skill bonus.
{{#if (compare 'int' parsedRollResult.total '>=' 90)}}
You rolled higher than 90, which is always considered a failure.
{{else}}
You {{{outcomeVerb}}} less than your <strong>{{{attribute}}}</strong>.
{{#if (compare 'int' skillValue '>' 0)}}
You {{{outcomeVerb}}} less than your <strong>{{{attribute}}}</strong> plus <strong>{{{skill}}}</strong> skill bonus.
{{else}}
You {{{outcomeVerb}}} less than your <strong>{{{attribute}}}</strong>.
{{/if}}
{{/if}}
</div>
</div>