{{#if this.document.system.class}} {{#if this.document.system.multiclass}} {{this.document.system.class.name}} {{localize "DAGGERHEART.General.Features"}}{{this.document.system.multiclass.name}} {{localize "DAGGERHEART.General.Features"}} {{else}} {{this.document.system.class.name}} {{localize "DAGGERHEART.General.Features"}} {{/if}} {{else}} {{localize "DAGGERHEART.Sheets.PC.Features.Title"}} {{/if}}
{{#each this.features as |feature index|}}
{{feature.name}}
{{{feature.system.description}}}
{{!-- Maybe maybe --}} {{#if (eq feature.system.featureType.type 'input')}} {{/if}} {{#if (eq feature.system.featureType.type 'dice')}}
{{#times feature.system.featureType.data.max}} {{#if (gt ../this.system.featureType.data.property this)}}
{{#if (lookup (lookup ../this.system.featureType.data.numbers this) 'value')}}
{{lookup (lookup ../this.system.featureType.data.numbers this) 'value'}}
{{else}} {{/if}}
{{else}}
{{/if}} {{/times}}
{{/if}}
{{/each}}