Files
Mana-Loop/src/lib/game/data/enchantments/spell-effects/frost-spells.ts
T
n8n-gitea e45c206321
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m19s
fix: resolve enchanting spec vs code discrepancies (issue #324)
- D2: Move spell_iceShard to basic-spells.ts at cost 75 (canonical), remove duplicate from frost-spells.ts
- D7: disenchantEquipment now adds 'Ready for Enchantment' tag and resets rarity to 'common'
- D8: disenchantEquipment now credits recovered mana to raw mana pool
- D14: Wire enchantPower stat from discipline effects into efficiencyBonus via new getEnchantingEfficiencyBonus() helper
- D3: Fix spec file reference from crafting-attunements.ts to data/attunements.ts
- D1/D6: Add missing metalSpellFocus to spec capacity table
2026-06-09 09:33:30 +02:00

49 lines
1.7 KiB
TypeScript

// ─── Frost Spell Effects ──────────────────────────────────────
// Frost spells - Air + Water compound, freeze/slow focus
import type { EnchantmentEffectDef } from './types';
import { ALL_CASTER } from './types';
export const FROST_SPELL_EFFECTS: Record<string, EnchantmentEffectDef> = {
spell_frostBite: {
id: 'spell_frostBite',
name: 'Frost Bite',
description: 'Grants the ability to cast Frost Bite (10 frost damage, freeze)',
category: 'spell',
baseCapacityCost: 78,
maxStacks: 1,
allowedEquipmentCategories: ALL_CASTER,
effect: { type: 'spell', spellId: 'frostBite' }
},
spell_frostNova: {
id: 'spell_frostNova',
name: 'Frost Nova',
description: 'Grants the ability to cast Frost Nova (30 frost damage, AoE slow+freeze)',
category: 'spell',
baseCapacityCost: 165,
maxStacks: 1,
allowedEquipmentCategories: ALL_CASTER,
effect: { type: 'spell', spellId: 'frostNova' }
},
spell_glacialSpike: {
id: 'spell_glacialSpike',
name: 'Glacial Spike',
description: 'Grants the ability to cast Glacial Spike (45 frost damage, freeze)',
category: 'spell',
baseCapacityCost: 200,
maxStacks: 1,
allowedEquipmentCategories: ALL_CASTER,
effect: { type: 'spell', spellId: 'glacialSpike' }
},
spell_absoluteZero: {
id: 'spell_absoluteZero',
name: 'Absolute Zero',
description: 'Grants the ability to cast Absolute Zero (120 frost damage, AoE freeze+slow)',
category: 'spell',
baseCapacityCost: 380,
maxStacks: 1,
allowedEquipmentCategories: ALL_CASTER,
effect: { type: 'spell', spellId: 'absoluteZero' }
},
};