mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
* Restructured all the files * Moved build/daggerheart.js to ./daggerheart.js. Changed rollup to use the css file instead of the less * Restored build/ folder * Mvoed config out form under application * Moved roll.mjs to module/dice and renamed to dhRolls.mjs * Update module/canvas/placeables/_module.mjs Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com> * Le massive export update * Removed unncessary import --------- Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com>
28 lines
No EOL
1.4 KiB
Handlebars
28 lines
No EOL
1.4 KiB
Handlebars
<div class="dice-roll daggerheart chat roll" data-action="expandRoll">
|
|
{{#unless noTitle}}<div class="dice-flavor">{{damage.title}}</div>{{/unless}}
|
|
<div class="dice-result">
|
|
<div class="dice-formula">{{damage.roll.formula}}</div>
|
|
<div class="dice-tooltip">
|
|
<div class="wrapper">
|
|
<section class="tooltip-part">
|
|
{{#each damage.roll.dice}}
|
|
<div class="dice">
|
|
<header class="part-header flexrow">
|
|
<span class="part-formula">{{formula}}</span>
|
|
<span class="part-total">{{total}}</span>
|
|
</header>
|
|
<ol class="dice-rolls">
|
|
{{#each results}}
|
|
<li class="roll die {{../dice}} min">{{result}}</li>
|
|
{{/each}}
|
|
</ol>
|
|
</div>
|
|
{{/each}}
|
|
{{#if damage.roll.modifierTotal}}<div class="duality-modifier">{{#if (gt damage.roll.modifierTotal 0)}}+{{/if}}{{damage.roll.modifierTotal}}</div>{{/if}}
|
|
<div class="duality-result">Total: {{damage.roll.total}}</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
<div class="dice-total">{{damage.roll.total}}</div>
|
|
</div>
|
|
</div> |