{{#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 (eq resource.key "alchemypoints")}} {{#if @root.isAlchemist}}

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

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