Files
Mana-Loop/docs/task1_progress.md
T
Unknown fe97ef60b4
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 7m37s
Task 1: Add Hybrid Skills - Pact-Weaving, Guardian Constructs, Enchanted Golemancy
- Implement Pact-Weaving (Invoker + Enchanter) hybrid skill
  * Paths: The Weaver, The Warp, The World-Weaver
  * Weave Guardian essence into weapon enchantments/world-effects
  * Requires: Invoker 5+, Enchanter 5+

- Implement Guardian Constructs (Fabricator + Invoker) hybrid skill
  * Paths: The Architect, The Monumentalist, The Eternal
  * Only 1 active at a time, vastly more durable
  * Requires: Fabricator 5+, Invoker 5+

- Implement Enchanted Golemancy (Fabricator + Enchanter) hybrid skill
  * Paths: The Battle-Smith, The Enchanter-Smith, The Spell-Smith
  * Imbue golems with elemental spell logic
  * Requires: Fabricator 5+, Enchanter 5+

- All 512 tests passing
2026-04-23 14:02:52 +02:00

110 lines
4.7 KiB
Markdown

# Task 1 Progress
## Initial Assessment (Completed)
- **Repository Status**: On branch master, ahead by 1 commit
- **Uncommitted changes**: `docs/task1.md`, `package-lock.json`
- **Last commit**: "Add task1_progress.md initial entry"
- **Test Status**: Failing - missing `src/test/setup.ts` module
- **Created**: `src/test/setup.ts` to fix test initialization
## Task Breakdown from task1.md
### Core Design Pillars (Must be enforced)
1. **NO LOOP PRESERVATION**: Remove skills that carry over mana, spells, equipment, blueprints (e.g., Temporal Memory, Emergency Reserve, Ancient Knowledge)
2. **NO INSTANT FINISHING**: Remove % chances to instantly complete study, enchanting, or fabrication
3. **NO HEALING/LIFESTEAL**: Player has no HP - remove all survival-based recovery mechanics
4. **NO TIMER ALTERATION**: Cannot extend, pause, or reset the 30-day limit
5. **INCURSION MITIGATION**: Skills can reduce Incursion Penalty (mana regen debuff), but clock remains absolute
### Required Work
1. **Rewrite Skill Definitions** - Implement 5-Tier Continuous Talent Tree structure
- Each skill max level 10
- Milestone choices at Level 5 and Level 10 of EVERY Tier
- Total: 10 unique perk choices for fully mastered T5 skill
- Compounding Paths (e.g., Capacity vs. Efficiency)
- Elite Perks at T3 L10 and T5 L10
2. **Generate Visual Talent Trees** for:
- Mana Flow ✓
- Quick Learner ✓
- Invocation ✓
- Pact Mastery ✓
3. **Define Hybrid Skills**:
- Invoker + Enchanter = Pact-Weaving ✓
- Fabricator + Invoker = Guardian Constructs ✓
- Fabricator + Enchanter = Enchanted Golemancy ✓
4. **Commit and push** after each major section
## Progress Log
### 2024-01-23 12:58 UTC
- ✓ Created missing `src/test/setup.ts` file
- ✓ Initial assessment completed
- ✓ Fixed bun:test imports to use vitest in test files
### 2024-01-23 12:15 UTC
- ✓ Rewrote types.ts with new SkillTierDef, SkillPerkChoice interfaces
- ✓ Rewrote skill-evolution.ts with 5-tier talent tree structure
- ✓ Added functions: getBaseSkillId, getTierMultiplier, getNextTierSkill, generateTierSkillDef, getUpgradesForSkillAtMilestone, getAvailableUpgrades, canTierUp
- ✓ Added missing evolution paths for all skills with max > 1
### 2024-01-23 12:30 UTC
- ✓ Removed `scrollCrafting` completely from codebase (violates NO INSTANT FINISHING pillar)
- Removed from constants.ts
- Removed from DebugTab.tsx`
- ✓ Set max:1 for skills that don't need evolution paths:
- essenceRefining, effCrafting, fieldRepair, elemCrafting, temporalMemory, golemMastery, golemEfficiency, golemLongevity, golemSiphon
- ✓ All 512 tests passing
### 2024-01-23 12:45 UTC
- ✓ Mana Flow talent tree implemented (T1-T5 with perk choices)
- ✓ Quick Learner talent tree implemented
- ✓ Invocation talent tree implemented (Invoker attunement)
- ✓ Pact Mastery talent tree implemented (Invoker attunement)
- ✓ Mana Well, Mana Tap, Mana Surge, Mana Spring, Insight Harvest, Guardian Bane trees added
- ✓ Enchanting, Efficient Enchant, Disenchanting, Enchant Speed trees added
- ✓ Knowledge Retention tree added
### 2024-01-23 13:25 UTC
- ✓ Removed Temporal Memory (violates NO LOOP PRESERVATION pillar)
- ✓ Committed: "Remove Temporal Memory"
### 2024-01-23 13:35 UTC
-**Pact-Weaving** hybrid skill implemented (Invoker + Enchanter)
- Paths: A=The Weaver, B=The Warp, C=The World-Weaver
- 5-tier talent tree with Elite Perks
- Requires: Invoker 5+, Enchanter 5+
-**Guardian Constructs** hybrid skill implemented (Fabricator + Invoker)
- Paths: A=The Architect, B=The Monumentalist, C=The Eternal
- Only 1 active at a time, vastly more durable
- Requires: Fabricator 5+, Invoker 5+
-**Enchanted Golemancy** hybrid skill implemented (Fabricator + Enchanter)
- Paths: A=The Battle-Smith, B=The Enchanter-Smith, C=The Spell-Smith
- Imbuing golems with elemental spell logic
- Requires: Fabricator 5+, Enchanter 5+
- ✓ Added all 3 hybrid skills to SKILLS_DEF in constants.ts
- ✓ Added todo SKILL_EVOLUTION_PATHS entries
- ✓ Updated test files with 'hybrid' category
- ✓ All 512 tests passing
## Next Steps
1. Run final test verification
2. Commit hybrid skill work
3. Push all changes to gitea
4. Task 1 complete!
## Files Modified
- `src/lib/game/types.ts` - Updated with new interfaces
- `src/lib/game/skill-evolution.ts` - Complete rewrite with 5-tier talent trees + 3 hybrid skills
- `src/lib/game/constants.ts` - Removed violating skills, added hybrid skills
- `src/test/setup.ts` - Created for vitest compatibility
- `src/components/game/tabs/DebugTab.tsx` - Removed scrollCrafting references
- Test files - Fixed vitest imports, added hybrid category
- `docs/task1.md` - Task description
- `docs/task1_progress.md` - This file