Skip to content

Commit

Permalink
Merge pull request dmdorman#540 from phBalance/phBalance/no-character…
Browse files Browse the repository at this point in the history
…istic-if-no-roll-for-skill

Don't show characteristics for skills without rolls
  • Loading branch information
phBalance authored Dec 24, 2023
2 parents db995d1 + 1974633 commit 508f132
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions templates/actor/actor-sheet.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -345,13 +345,15 @@
{{/if}}
</td>
<td>
{{toLowerCase item.system.CHARACTERISTIC}}
{{#if item.system.roll}}
{{toLowerCase item.system.CHARACTERISTIC}}
{{/if}}
</td>
<td>
{{#if item.system.roll}}
<button type="button" class="item-rollable" data-roll="{{item.system.roll}}"
data-label="{{item._id}}">{{numberFormat item.system.roll decimals=0
sign=false}}-</button>
<button type="button" class="item-rollable" data-roll="{{item.system.roll}}"
data-label="{{item._id}}">{{numberFormat item.system.roll decimals=0
sign=false}}-</button>
{{/if}}
</td>
<td>
Expand Down

0 comments on commit 508f132

Please sign in to comment.