Fix actor sheet modifications/updates

This commit is contained in:
2026-05-22 16:42:01 +02:00
parent c2811c9eb9
commit 78fa804dc5
15 changed files with 131 additions and 40 deletions
+17 -1
View File
@@ -48,7 +48,7 @@
{{!-- Abilities --}}
<fieldset>
<legend>{{localize "AWEMMY.Item.Ability"}}</legend>
<legend>{{localize "AWEMMY.Character.Repertoire"}}</legend>
<div class="item-list">
{{#each abilities as |item|}}
<div class="item-row {{#if item.usedToday}}ability-used{{/if}}" data-drag="true" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-tooltip="{{itemTooltip item}}">
@@ -95,6 +95,22 @@
</a>
{{/each}}
</div>
{{#if hasConditionPenalties}}
<div class="condition-penalties">
{{#if inhibitedActive}}
<div class="condition-penalty-row">
<label>{{localize "AWEMMY.Condition.Inhibited"}} {{localize "AWEMMY.Condition.Penalty"}}</label>
{{formInput systemFields.inhibitedPenalty value=inhibitedPenalty classes="condition-penalty-input"}}
</div>
{{/if}}
{{#if vulnerableActive}}
<div class="condition-penalty-row">
<label>{{localize "AWEMMY.Condition.Vulnerable"}} {{localize "AWEMMY.Condition.DCPenalty"}}</label>
{{formInput systemFields.vulnerablePenalty value=vulnerablePenalty classes="condition-penalty-input"}}
</div>
{{/if}}
</div>
{{/if}}
</fieldset>
</section>