Skip to content

Commit

Permalink
Fix toggling skills on NPC sheets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyorl committed May 24, 2023
1 parent 0adeca8 commit 10b1ee1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/actors/npc-sheet.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@
<ul class="skills-list">
{{#each config.skills as |obj s|}}
{{#with (lookup ../skills s) as |skill|}}
<li class="skill flexrow {{#if skill.value}}proficient{{/if}}" data-skill="{{s}}">
<li class="skill proficiency-row flexrow {{#if skill.value}}proficient{{/if}}" data-property="skills"
data-key="{{s}}">
<input type="hidden" name="system.skills.{{s}}.value"
value="{{skill.baseValue}}" data-dtype="Number">
<input type="hidden" name="system.skills.{{s}}.ability" value="{{skill.ability}}">
Expand Down

0 comments on commit 10b1ee1

Please sign in to comment.