BOL : Fix damage error, rework roll dialog and new damage targetting

This commit is contained in:
2026-03-16 20:16:58 +01:00
parent 7adc1b3f07
commit a549262d25
121 changed files with 538 additions and 408 deletions

View File

@@ -7,44 +7,46 @@
</div>
</div>
</header>
{{> "systems/bol/templates/dialogs/attribute-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/aptitude-roll-part.hbs"}}
<div class="roll-dialog-grid">
{{!-- Colonne gauche --}}
<div class="roll-col">
{{> "systems/bol/templates/dialogs/attribute-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/aptitude-roll-part.hbs"}}
{{#if (equals aptitude.key "init" )}}
<div class="flexrow" style="margin-bottom: 1px;">
<div class="flex1 center bg-darkred">
<label for="mod">{{localize 'BOL.ui.registerInit'}}</label>
{{#if (equals aptitude.key "init")}}
<div class="flexrow roll-box">
<div class="flex1 center bg-darkred">
<label for="mod">{{localize 'BOL.ui.registerInit'}}</label>
</div>
<div class="flex1 center cell">
<label class="checkbox">
<input class="field-value" type="checkbox" name="register-init" id="register-init" checked />
</label>
</div>
</div>
<div class="flexrow roll-box">
<div class="flex1 center bg-darkred">
<label for="mod">{{localize 'BOL.ui.initMalus'}}</label>
</div>
<div class="flex1 center cell">{{combatData.malusInit}}</div>
</div>
{{/if}}
{{> "systems/bol/templates/dialogs/effect-roll-part.hbs"}}
</div>
<div class="flex1 center cell">
<label class="checkbox">
<input class="field-value" type="checkbox" name="register-init" id="register-init" checked />
</label>
{{!-- Colonne droite --}}
<div class="roll-col">
{{> "systems/bol/templates/dialogs/career-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/boons-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/flaws-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/horoscope-roll-part.hbs"}}
</div>
</div>
<div class="flexrow" style="margin-bottom: 1px;">
<div class="flex1 center bg-darkred">
<label for="mod">{{localize 'BOL.ui.initMalus'}}</label>
</div>
<div class="flex1 center cell">{{combatData.malusInit}}</div>
</div>
{{/if}}
{{> "systems/bol/templates/dialogs/career-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/boons-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/flaws-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/effect-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/horoscope-roll-part.hbs"}}
</div>
{{> "systems/bol/templates/dialogs/adv-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/mod-roll-part.hbs"}}
{{> "systems/bol/templates/dialogs/total-roll-part.hbs"}}
</form>