Various minor fixes + fix roll result

This commit is contained in:
2024-09-04 08:57:26 +02:00
parent 321052fd33
commit e6bdc427f2
100 changed files with 750 additions and 601 deletions

View File

@@ -6,6 +6,7 @@
<div class="item-name flex2">{{localize combatType.label}}</div>
{{#if protection}}<div class="item-field">{{localize "BOL.ui.protection"}}</div>{{/if}}
{{#if blocking}}<div class="item-field">{{localize "BOL.ui.blocking"}}</div>{{/if}}
{{#if weapon}}<div class="item-field">{{localize "BOL.ui.attackModifier"}}</div>{{/if}}
{{#if weapon}}<div class="item-field">{{localize "BOL.ui.damages"}}</div>{{/if}}
{{#if ranged}}<div class="item-field">{{localize "BOL.ui.range"}}</div>{{else}}<div class="item-field"></div>{{/if}}
{{#if options}}<div class="item-field">{{localize "BOL.ui.status"}}</div>{{else}}<div class="item-field"></div>{{/if}}
@@ -17,6 +18,7 @@
<h4 class="item-name flex2">{{#if ../weapon}}<a class="rollable" data-roll-type="weapon">{{/if}}{{item.name}}{{#if ../weapon}}</a>{{/if}}</h4>
{{#if ../protection}}<div class="item-field"><a class="rollable" data-roll-type="protection">{{item.system.properties.soak.formula}}</a> / {{item.system.properties.soak.value}}</div>{{/if}}
{{#if ../blocking}}<div class="item-field">{{item.system.properties.blocking.malus}}</div>{{/if}}
{{#if ../weapon}}<div class="item-field">{{item.system.properties.attackModifiers}}</div>{{/if}}
{{#if ../weapon}}<div class="item-field"><a class="rollable" data-roll-type="damage">{{item.system.properties.damage}}+{{item.system.properties.damageModifiers}} x{{item.system.properties.damageMultiplier}}</a></div>{{/if}}
{{#if ../ranged}}<div class="item-field">{{item.system.properties.range}}</div>{{else}}<div class="item-field"></div>{{/if}}
{{#if ../options}}<div class="item-field">
@@ -63,3 +65,9 @@
</ol>
{{/if}}
{{/each}}
<div class="flexrow">
<button class="create-natural-weapon">{{localize "BOL.ui.createNaturalWeapon"}}</button>
&nbsp;&nbsp;&nbsp;&nbsp;
<button class="create-natural-protection">{{localize "BOL.ui.createNaturalProtection"}}</button>
</div>