Initial dice roller

This commit is contained in:
Anthony Murphy
2024-03-28 21:40:20 +11:00
parent 03fffa2f19
commit 115fcc4f18
26 changed files with 1077 additions and 44 deletions

View File

@@ -0,0 +1,28 @@
<div class="dice-roll">
<div class="dice-result">
Original Roll:
<h4 class="dice-total" >{{ baseroll.result }}</h4>
</div>
{{#if highopen }}
<div class=dice-result>
Rolled over 95 - High Open-Ended!
{{#each opeendedresults as |rollresult|}}
<h4 class="dice-total" >{{ rollresult }}</h4>
{{/each}}
</div>
{{/if}}
{{#if lowopen }}
<div class=dice-result>
Rolled under 6 - Low Open-Ended!
{{#each opeendedresults as |rollresult|}}
<h4 class="dice-total" >{{ rollresult }}</h4>
{{/each}}
</div>
{{/if}}
<div class="dice-result">
Total:
<h4 class="dice-total" >{{ total }}</h4>
</div>
</div>