mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
* Fix action for items * Cost & Range #1 * remove log * actions * Split methods * Roll classes * Begin damage * g * Actions * before main merge * Fix d20RollDialog costs check * Fix submit on close * Add uses in action dialog * Adversary Attack * 166 - Damage Reduction (#180) * Temp * Fixed Stress Reductions * Changed from index based to object * Fixed stress resources management for DamageReduction * Fix Adversary attack multiplier * Auto add Attack action to newly created weapon * Few fixes * 164 - Add Hope/Fear formula * 163 - Actor Sub Datas (#182) * Added rules/bonuses for all classes and subclasses * More * Add Save * Fix delete action button --------- Co-authored-by: WBHarry <williambjrklund@gmail.com> Co-authored-by: WBHarry <89362246+WBHarry@users.noreply.github.com>
29 lines
No EOL
1.3 KiB
Handlebars
29 lines
No EOL
1.3 KiB
Handlebars
<div>
|
|
<div class="form-group">
|
|
<label><strong>{{title}}</strong></label>
|
|
<div class="form-fields">
|
|
<input type="text" value="{{formula}}" disabled />
|
|
</div>
|
|
</div>
|
|
{{!-- {{#each bonusDamage as |damage index|}}
|
|
<div class="form-group">
|
|
<label><strong>{{damage.description}}</strong></label>
|
|
<div class="form-fields">
|
|
<label>Enabled</label>
|
|
<input style="align-self: baseline;" type="checkbox" name="bonusDamage.{{index}}.initiallySelected" {{checked damage.initiallySelected}} />
|
|
{{#if (and damage.initiallySelected damage.hopeIncrease)}}
|
|
|
|
<label>Hope</label>
|
|
<div class="hope-container">
|
|
<i data-action="decreaseHopeUse" data-index="{{index}}" class="fa-solid fa-caret-left icon-button {{#if (eq damage.hopeUses 0)}}disabled{{/if}}"></i>
|
|
<div>{{damage.hopeUses}}</div>
|
|
<i data-action="increaseHopeUse" data-index="{{index}}" class="fa-solid fa-caret-right icon-button {{#if (eq ../hopeUsed ../hope)}}disabled{{/if}}"></i>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{/each}} --}}
|
|
<footer>
|
|
<button data-action="submitRoll">Roll</button>
|
|
</footer>
|
|
</div> |