mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* Unify healing & damage * create DHResourceData * Damages parts roll * h * ChatMessage & takeDamage updates * Adapt healing * No, there was not a console.log !
33 lines
No EOL
1.5 KiB
Handlebars
33 lines
No EOL
1.5 KiB
Handlebars
<div class="dice-roll daggerheart chat roll" data-action="expandRoll">
|
|
<div class="dice-flavor">{{title}}</div>
|
|
<div class="dice-result">
|
|
{{#each roll as | resource index | }}
|
|
<div class="dice-formula">{{resource.formula}}</div>
|
|
<div class="dice-tooltip">
|
|
<div class="wrapper">
|
|
{{#each resource.parts}}
|
|
<section class="tooltip-part">
|
|
<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 dice}}
|
|
{{#each results}}
|
|
<li class="roll die {{../dice}} min">{{result}}</li>
|
|
{{/each}}
|
|
{{/each}}
|
|
</ol>
|
|
</div>
|
|
</section>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
<div class="dice-total">{{resource.total}}</div>
|
|
{{/each}}
|
|
<div class="flexrow">
|
|
<button class="healing-button"><span>{{localize "DAGGERHEART.UI.Chat.healingRoll.heal"}}</span></button>
|
|
</div>
|
|
</div>
|
|
</div> |