{{#each attributes as |attribute id|}}


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

{{#each aptitudes as |aptitude id|}}


{{#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}}