// ─── Lightning Spell Effects ──────────────────────────────────
// Lightning spells - Fast, armor-piercing, harder to dodge

import type { EnchantmentEffectDef } from './types';
import { ALL_CASTER } from './types';

export const LIGHTNING_SPELL_EFFECTS: Record<string, EnchantmentEffectDef> = {
  spell_spark: {
    id: 'spell_spark',
    name: 'Spark',
    description: 'Grants the ability to cast Spark (8 lightning damage, very fast, armor pierce)',
    category: 'spell',
    baseCapacityCost: 70,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'spark' }
  },
  spell_lightningBolt: {
    id: 'spell_lightningBolt',
    name: 'Lightning Bolt',
    description: 'Grants the ability to cast Lightning Bolt (14 lightning damage, armor pierce)',
    category: 'spell',
    baseCapacityCost: 90,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'lightningBolt' }
  },
  spell_chainLightning: {
    id: 'spell_chainLightning',
    name: 'Chain Lightning',
    description: 'Grants the ability to cast Chain Lightning (25 lightning damage, hits 3 targets)',
    category: 'spell',
    baseCapacityCost: 160,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'chainLightning' }
  },
  spell_stormCall: {
    id: 'spell_stormCall',
    name: 'Storm Call',
    description: 'Grants the ability to cast Storm Call (40 lightning damage, hits 2 targets)',
    category: 'spell',
    baseCapacityCost: 190,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'stormCall' }
  },
  spell_thunderStrike: {
    id: 'spell_thunderStrike',
    name: 'Thunder Strike',
    description: 'Grants the ability to cast Thunder Strike (150 lightning damage, 50% armor pierce)',
    category: 'spell',
    baseCapacityCost: 350,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'thunderStrike' }
  },
};
