mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Feature/683 damage dialog options (#735)
* Temp solution for specific weapon feature * Add Serrated & Self-Correcting * Remove comments
This commit is contained in:
parent
1c000c7cfe
commit
585601c134
18 changed files with 177 additions and 118 deletions
|
|
@ -24,6 +24,22 @@
|
|||
<input type="text" value="{{extraFormula}}" name="roll.{{ @index }}.extraFormula" placeholder="Situational Bonus">
|
||||
</div>
|
||||
{{/each}}
|
||||
{{#if @root.modifiers}}
|
||||
<fieldset class="modifier-container two-columns">
|
||||
<legend>{{localize "DAGGERHEART.GENERAL.Modifier.plural"}}</legend>
|
||||
{{#each @root.modifiers}}
|
||||
<span class="formula-label">{{ localize label }}</span>
|
||||
{{#if (hasProperty this "values")}}
|
||||
<select name="modifiers.{{@key}}.value">
|
||||
{{selectOptions values blank="" selected=value}}
|
||||
</select>
|
||||
{{/if}}
|
||||
{{#if (hasProperty this "enabled")}}
|
||||
<input type="checkbox" name="modifiers.{{@key}}.enabled" {{ checked enabled }}>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</fieldset>
|
||||
{{/if}}
|
||||
<div class="damage-section-controls">
|
||||
{{#if directDamage}}
|
||||
<select class="roll-mode-select" name="selectedRollMode">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue