// ─── 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' }
  },
};
