Files

1.4 KiB

Task F1 — XP Levels and Progression Points

Scope

Implemented XP-based character progression:

  • Added cumulative XP thresholds, levels, and attribute/skill point rewards.
  • Kept actor XP ledger compatibility while routing awards through progression.
  • Reported level gains for melee, companion-shared XP, and lethal spell XP.
  • Added a character panel for viewing progression and spending attribute/skill points.
  • Added unit and E2E coverage for progression, level-up, spell XP, and character-panel flows.

Verification fix

The initial verification run had two failed tests caused by XP event payload contracts:

  1. Companion shared-XP fallback did not include levels_gained when it emitted its own XP event.
  2. Lethal spell XP inherited spell metadata in the XP event payload, whereas the XP contract requires only XP progression data.

Both payloads now preserve the expected XP event shape and include levels_gained when applicable.

Final verification

./scripts/verify.sh passed:

  • Unit: 159 / 159 tests, 1,218 assertions
  • Integration: 10 / 10 tests, 59,462 assertions
  • E2E: 47 / 47 tests, 477 assertions
  • Visual checks: passed (normal and exit captures)

The runner emitted pre-existing third-party GUT resource UID and Godot cleanup warnings, but verification completed successfully.

Git

All intended F1 implementation, scene, test, UID, and report files are included in the local commit. No push or PR was created.