Add golemancy system, combination skills, and UI redesigns
All checks were successful
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m17s

- Remove scroll crafting skill (no consumables in idle game)
- Add golem types (Earth, Metal, Crystal) with variants (Lava, Mud, Forge, Storm)
- Implement golemancy state in store with summoning/drain mechanics
- Add combination skills requiring level 5+ in two attunements:
  - Enchanter+Fabricator: Enchanted Golems, Capacity Overflow
  - Invoker+Fabricator: Pact-Bonded Golems, Guardian Infusion
  - Invoker+Enchanter: Pact Enchantments, Elemental Resonance
- Redesign CraftingTab with sub-tabs for Enchanter/Fabricator
- Redesign SpireTab to show summoned golems and DPS contribution
- Redesign StatsTab with attunement-specific stats sections
- Update documentation (README.md, AGENTS.md)
This commit is contained in:
Z User
2026-03-28 07:56:52 +00:00
parent 3c79e66b87
commit 17c6d5652d
9 changed files with 1596 additions and 139 deletions

View File

@@ -348,6 +348,64 @@ const useGameStore = create<GameStore>()(
| Crafting | `crafting-slice.ts` | Equipment/enchantment (createEquipmentInstance, startDesigningEnchantment) |
| Familiar | `familiar-slice.ts` | Familiar system (addFamiliar, removeFamiliar) |
## Attunement System
### Overview
Attunements are class-like specializations tied to body slots. Each attunement provides unique capabilities and skills.
### Attunement Types
| Attunement | Slot | Primary Mana | Capabilities |
|------------|------|--------------|--------------|
| Enchanter | Right Hand | Transference | Enchanting, Disenchanting |
| Invoker | Chest | (from pacts) | Pacts, Guardian Powers |
| Fabricator | Left Hand | Earth | Golemancy, Gear Crafting |
### Leveling
- XP is earned by using attunement-specific actions
- Enchanter: XP from enchanting equipment (1 XP per 10 capacity used)
- Invoker: XP from signing pacts and defeating guardians
- Fabricator: XP from crafting equipment and golems
- Level 5+ unlocks combination skills with other attunements
### Combination Skills
Unlock at level 5+ in two attunements:
| Combination | Skills |
|-------------|--------|
| Enchanter + Fabricator | Enchanted Golems, Capacity Overflow, Runic Golems |
| Invoker + Fabricator | Pact-Bonded Golems, Guardian Infusion |
| Invoker + Enchanter | Pact Enchantments, Elemental Resonance |
## Golemancy System
### Overview
Golems are channeling summons that deal automatic damage while draining mana.
### Golem Types
| Type | Element | Base DPS | Mana Cost | Drain | Unlock |
|------|---------|----------|-----------|-------|--------|
| Earth Golem | Earth | 22.5 | 50 earth | 2/hr | Fabricator attunement |
| Metal Golem | Metal | 50 | 100 metal | 3/hr | Metalworking skill |
| Crystal Golem | Crystal | 100 | 200 crystal | 5/hr | Golemancy Master skill |
### Golem Variants
Created by embedding elemental crystals (requires Crystal Embedding skill):
- **Lava Golem**: Earth + Fire (1.5x damage, burn effect)
- **Mud Golem**: Earth + Water (1.2x damage, slow effect)
- **Forge Golem**: Metal + Fire (1.6x damage, burn effect)
- **Storm Golem**: Metal + Air (1.4x damage, shock effect)
### Duration
- Base: 1 floor
- +1 floor per Fabricator level (max 10)
### Store Methods
- `canSummonGolem(golemId)` - Check if golem can be summoned
- `summonGolem(golemId, variant?)` - Summon a golem
- `dismissGolem(instanceId)` - Dismiss an active golem
- `getGolemDuration()` - Get duration in floors
- `getActiveGolemDPS()` - Get total DPS from all golems
## File Size Guidelines
### Current File Sizes (After Refactoring)