fix: Missing enchantment effects for several spells (rotTouch, soulRend, master, legendary) #41

Closed
opened 2026-05-18 16:01:01 +02:00 by Anexim · 3 comments
Owner

Severity: Major

Files:

  • src/lib/game/data/enchantments/spell-effects/basic-spells.ts — missing spell_rotTouch (death element Tier 1)
  • src/lib/game/data/enchantments/spell-effects/tier2-spells.ts — missing spell_soulRend (death element Tier 2)
  • src/lib/game/data/enchantments/spell-effects/tier3-spells.ts — only has pyroclasm, tsunami, meteorStrike; missing cosmicStorm, heavenLight, oblivion, deathMark (master spells), and all LEGENDARY_SPELLS (stellarNova, voidCollapse, crystalShatter)

Problem: Several spells have no defined enchantment effects, meaning they cannot be applied as equipment enchantments. This creates an incomplete enchantment system where some spells are missing from the crafting flow.

Impact: Players cannot create enchantments for death element spells, master spells, or legendary spells. The enchantment system is incomplete.

Fix: Add missing enchantment effect definitions for all spells that are missing them. Each should follow the pattern of existing effects with appropriate baseCapacityCost, allowedEquipmentCategories, and effect configuration.

**Severity:** Major **Files:** - `src/lib/game/data/enchantments/spell-effects/basic-spells.ts` — missing `spell_rotTouch` (death element Tier 1) - `src/lib/game/data/enchantments/spell-effects/tier2-spells.ts` — missing `spell_soulRend` (death element Tier 2) - `src/lib/game/data/enchantments/spell-effects/tier3-spells.ts` — only has `pyroclasm`, `tsunami`, `meteorStrike`; missing `cosmicStorm`, `heavenLight`, `oblivion`, `deathMark` (master spells), and all `LEGENDARY_SPELLS` (`stellarNova`, `voidCollapse`, `crystalShatter`) **Problem:** Several spells have no defined enchantment effects, meaning they cannot be applied as equipment enchantments. This creates an incomplete enchantment system where some spells are missing from the crafting flow. **Impact:** Players cannot create enchantments for death element spells, master spells, or legendary spells. The enchantment system is incomplete. **Fix:** Add missing enchantment effect definitions for all spells that are missing them. Each should follow the pattern of existing effects with appropriate `baseCapacityCost`, `allowedEquipmentCategories`, and `effect` configuration.
Anexim added the ai:todo label 2026-05-18 16:01:01 +02:00
n8n-gitea was assigned by Anexim 2026-05-18 16:01:01 +02:00
Author
Owner

[priority: 3] DATA/LOGIC BUG — Missing enchantment effects for several spells (rotTouch, soulRend, master, legendary).

[priority: 3] DATA/LOGIC BUG — Missing enchantment effects for several spells (rotTouch, soulRend, master, legendary).
Author
Owner

Starting work on #41 — adding missing enchantment effects for rotTouch, soulRend, master spells, and legendary spells. This is the highest priority remaining issue (Priority 3).

Starting work on #41 — adding missing enchantment effects for rotTouch, soulRend, master spells, and legendary spells. This is the highest priority remaining issue (Priority 3).
Author
Owner

Fixed. Added missing enchantment effects for all spells that were missing them:

Tier 1 (basic-spells.ts):

  • spell_rotTouch — death element, 14 damage, baseCapacityCost: 80

Tier 2 (tier2-spells.ts):

  • spell_soulRend — death element, 50 damage, baseCapacityCost: 170

Tier 3 Master Spells (tier3-spells.ts):

  • spell_cosmicStorm — air, 200 damage, baseCapacityCost: 370
  • spell_heavenLight — light, 240 damage, baseCapacityCost: 390
  • spell_oblivion — dark, 230 damage, baseCapacityCost: 385
  • spell_deathMark — death, 200 damage, baseCapacityCost: 370

Tier 4 Legendary Spells (new file: legendary-spells.ts):

  • spell_stellarNova — stellar, 500 damage, baseCapacityCost: 600
  • spell_voidCollapse — void, 450 damage, baseCapacityCost: 550
  • spell_crystalShatter — crystal, 400 damage, baseCapacityCost: 500

Updated spell-effects/index.ts to import and include LEGENDARY_SPELL_EFFECTS in the combined SPELL_EFFECTS record. All effects follow the existing pattern with ALL_CASTER equipment category. All files pass pre-commit size checks (under 400 lines).

Fixed. Added missing enchantment effects for all spells that were missing them: **Tier 1 (basic-spells.ts):** - `spell_rotTouch` — death element, 14 damage, baseCapacityCost: 80 **Tier 2 (tier2-spells.ts):** - `spell_soulRend` — death element, 50 damage, baseCapacityCost: 170 **Tier 3 Master Spells (tier3-spells.ts):** - `spell_cosmicStorm` — air, 200 damage, baseCapacityCost: 370 - `spell_heavenLight` — light, 240 damage, baseCapacityCost: 390 - `spell_oblivion` — dark, 230 damage, baseCapacityCost: 385 - `spell_deathMark` — death, 200 damage, baseCapacityCost: 370 **Tier 4 Legendary Spells (new file: legendary-spells.ts):** - `spell_stellarNova` — stellar, 500 damage, baseCapacityCost: 600 - `spell_voidCollapse` — void, 450 damage, baseCapacityCost: 550 - `spell_crystalShatter` — crystal, 400 damage, baseCapacityCost: 500 Updated `spell-effects/index.ts` to import and include `LEGENDARY_SPELL_EFFECTS` in the combined `SPELL_EFFECTS` record. All effects follow the existing pattern with `ALL_CASTER` equipment category. All files pass pre-commit size checks (under 400 lines).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Anexim/Mana-Loop#41