{{!-- Level Up Dialog Template --}} {{!-- Shows features gained and handles perk/choice selections --}}

Level Up!

{{actor.name}} has reached Level {{newLevel}}

{{!-- Features Gained --}} {{#if features.length}}

Features Gained

{{/if}} {{!-- Choice Features (e.g., Fighting Style) --}} {{#if hasChoices}}

Feature Choices

{{#each choiceFeatures}}
{{{description}}}
{{!-- For perk choices --}} {{#if (eq choiceType "perk")}} {{/if}}
{{/each}}
{{/if}} {{!-- Perk Selection --}} {{#if hasPerks}}

Perk Selection

Choose a perk from the list below:

{{#each perkSlots}}
{{/each}}
{{/if}} {{!-- No features message --}} {{#unless features.length}} {{#unless hasPerks}} {{#unless hasChoices}}

No new features at this level.

{{/unless}} {{/unless}} {{/unless}} {{!-- Confirm Button --}}