feat: Add Attunements tab UI and filter skills by attunement access
Some checks failed
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m14s

- Create AttunementsTab component with visual display of all 3 attunements
- Show primary mana type, regen stats, and capabilities for each attunement
- Add visual effects for active attunements (color, glow)
- Filter skill categories based on active attunements in SkillsTab
- Add attunement tab navigation in main page
- Display available skill categories summary in AttunementsTab
This commit is contained in:
2026-03-27 17:05:04 +00:00
parent c51c8d8ff4
commit ae7fb8f6fc
5 changed files with 284 additions and 7 deletions

View File

@@ -233,3 +233,31 @@ Stage Summary:
- Attunements provide raw mana regen and convert to primary mana types
- Skills are now organized by attunement (foundation for skill tab overhaul)
- Lint checks pass, ready for UI implementation
---
Task ID: 10
Agent: Main
Task: Implement Attunement System - UI Overhaul
Work Log:
- **Created AttunementsTab component** (src/components/game/tabs/AttunementsTab.tsx):
- Displays all 3 attunements with their status (active/locked)
- Shows primary mana type and current mana for active attunements
- Displays raw mana regen and conversion rate stats
- Shows capabilities unlocked by each attunement
- Displays available skill categories based on active attunements
- Uses color coding and visual effects for active attunements
- **Updated page.tsx**:
- Added AttunementsTab import
- Added "✨ Attune" tab between Spire and Skills
- Added TabsContent for attunements
- **Updated SkillsTab.tsx**:
- Added import for getAvailableSkillCategories
- Modified skill rendering to filter categories by attunement access
- Skills now only show if the player has the appropriate attunement
Stage Summary:
- New Attunements tab shows all attunement details
- Skills are filtered based on active attunements
- Player can see exactly which skill categories they have access to
- Visual feedback shows active vs locked attunements