feat: discipline UI improvements - stat labels, prerequisites, mana type tab
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s

- Add player-friendly label field to statBonus in DisciplineDefinition
- Show prerequisite requirements on locked discipline cards
- Disable activate button for locked disciplines
- Restructure elemental attunement into dedicated 'Mana Types' tab
- Add checkDisciplinePrerequisites utility function
- Update store to enforce prerequisite checking on activation
- Split discipline-prerequisites tests into separate file
This commit is contained in:
2026-05-25 15:20:02 +02:00
parent 2c58186a67
commit 635b3b3f70
21 changed files with 313 additions and 82 deletions
+2
View File
@@ -200,6 +200,7 @@ Mana-Loop/
│ │ │ ├── crafting-utils-recipe.test.ts
│ │ │ ├── crafting-utils-time.test.ts
│ │ │ ├── discipline-math.test.ts
│ │ │ ├── discipline-prerequisites.test.ts
│ │ │ ├── enemy-generator.test.ts
│ │ │ ├── enemy-utils.test.ts
│ │ │ ├── floor-utils.test.ts
@@ -248,6 +249,7 @@ Mana-Loop/
│ │ │ │ ├── base.ts
│ │ │ │ ├── elemental-regen-advanced.ts
│ │ │ │ ├── elemental-regen.ts
│ │ │ │ ├── elemental.ts
│ │ │ │ ├── enchanter-special.ts
│ │ │ │ ├── enchanter-spells.ts
│ │ │ │ ├── enchanter-utility.ts