Indicate fumbles / coups on the dice-total

This commit is contained in:
Johannes Loher 2021-03-14 08:47:03 +01:00
parent 2ccaa5da10
commit eb0866cfa7
7 changed files with 80 additions and 3 deletions

View file

@ -0,0 +1,11 @@
<div class="dice-roll">
{{#if flavor}}
<div class="dice-flavor">{{flavor}}</div>
{{/if}}
<div class="dice-result">
<div class="dice-formula">{{formula}}</div>
{{{tooltip}}}
<h4 class="dice-total{{#if isFumble}} ds4-dice-total--fumble{{/if}}{{#if isCoup}} ds4-dice-total--coup{{/if}}">{{total}}
</h4>
</div>
</div>