diff --git a/templates/actor-sheet.hbs b/templates/actor-sheet.hbs index 4ce4c9d..cdff436 100644 --- a/templates/actor-sheet.hbs +++ b/templates/actor-sheet.hbs @@ -275,7 +275,7 @@ {{#each skill.system.predilections as |pred key|}} {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, + {{pred.name}}{{#unless (eq key (subtract skill.system.predilections.length 1))}}, {{/unless}} {{/if}} {{/each}} diff --git a/templates/creature-sheet.hbs b/templates/creature-sheet.hbs index bf642e8..6eab971 100644 --- a/templates/creature-sheet.hbs +++ b/templates/creature-sheet.hbs @@ -267,7 +267,7 @@ {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}}{{pred.name}}, {{/if}} + {{#if (and pred.acquise (not pred.used))}}{{pred.name}}{{#unless (eq key (subtract skill.system.predilections.length 1))}}, {{/unless}}{{/if}} {{/each}}