{{#each attributes as |attribute id|}}
{{#if attribute.numModifier}} {{/if}} {{#if (count attribute.diceModifier)}} {{/if}}

{{#if (eq value -1)}} 2 XP {{else}} {{add value (add value 1)}} XP {{/if}}
{{/each}}

{{#each aptitudes as |aptitude id|}}
{{#if aptitude.numModifier}} {{/if}} {{#if (count aptitude.diceModifier)}} {{/if}}

{{#if (eq value -1)}} 1 XP {{else}} {{add value 2}} XP {{/if}}
{{/each}}

{{#each resources as |resource id|}} {{#if resource.ismain}}

    {{#if (eq @root.charType 'player')}} {{#if (exists bonus)}} {{else}} {{/if}} {{/if}}
{{/if}} {{/each}}