Skip to content

Commit

Permalink
[#3823] Fix max attunement editing when affected by an ActiveEffect.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyorl committed Jul 18, 2024
1 parent 4048e00 commit 5f23ef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/shared/inventory2.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
<span class="value">{{ value }}</span>
<span class="separator">&sol;</span>
{{#if @root.editable}}
{{ numberInput max name="system.attributes.attunement.max" class="max" min=0 step=1 }}
{{ numberInput @root.source.attributes.attunement.max name="system.attributes.attunement.max" class="max"
min=0 step=1 }}
{{else}}
<span class="max">{{ max }}</span>
{{/if}}
Expand Down

0 comments on commit 5f23ef5

Please sign in to comment.