Hack System roller

Description (more info)

An autoroller for a simple custom system meant for personal use.

This chart uses input variables
Result

{% result1 = {1d6} %} {% result2 = {1d6} %}
{{ {difficulty == "easy"} |> if_true then:{% result3 = {2d6} %} }}
{{ {difficulty == "medium"} |> if_true then:{% result3 = {3d6} %} }}
{{ {difficulty == "hard"} |> if_true then:{% result3 = {4d6} %} }}

{% finaltext = "Success!" %}

{%if result1 == result2%}
{% finaltext = "Dice Match! Critical Success!" %}
{%end%}

{%if result1 == 1 and result2 == 1%}
{% finaltext = "Snake Eyes! Instant failure." %}
{% resultcheck = "X" %}
{%end%}

{%if finaltext== "Success!" or finaltext == "Dice Match! Critical Success!"%}
{%if result1 < {$spec}%}
{% result1 = {$spec}%}
{%elif result2 < {$spec}%}
{% result2 = {$spec} %}
{%end%}
{% resultcheck = {{$result1} + {$result2}} %}
{%if resultcheck < {$result3}%}
{% finaltext = "Failure..." %}
{%elif resultcheck == {$result3}%}
{% finaltext = "Close Call!" %}
{%end%}
{%end%}

Dice Result: {$result1} + {$result2} ({$resultcheck}) vs. {$result3}
{$finaltext}