Added RollMode to standalone DamageDialog and to RollDialog. ChatMessage now add ChatSpeaker

This commit is contained in:
WBHarry 2025-07-15 14:42:32 +02:00
parent 422f28c93c
commit 9688bf2e7e
12 changed files with 106 additions and 39 deletions

View file

@ -6,8 +6,15 @@
<div class="form-group">
<input type="text" value="{{extraFormula}}" name="extraFormula" placeholder="Situational Bonus">
</div>
<button class="submit-btn" data-action="submitRoll">
<i class="fa-solid fa-dice"></i>
<span class="label">Roll</span>
</button>
<div class="damage-section-controls">
{{#if directDamage}}
<select class="roll-mode-select" name="selectedRollMode">
{{selectOptions rollModes selected=selectedRollMode valueAttr="action" labelAttr="label" localize=true}}
</select>
{{/if}}
<button class="submit-btn" data-action="submitRoll">
<i class="fa-solid fa-dice"></i>
<span class="label">{{localize "DAGGERHEART.GENERAL.roll"}}</span>
</button>
</div>
</section>