Feature/683 damage dialog options (#735)

* Temp solution for specific weapon feature

* Add Serrated & Self-Correcting

* Remove comments
This commit is contained in:
Dapoulp 2025-08-10 01:20:24 +02:00 committed by GitHub
parent 1c000c7cfe
commit 585601c134
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 177 additions and 118 deletions

View file

@ -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">