// ─── Legendary Spell Effects ───────────────────────────────────
// Legendary spells - Tier 4, exotic elements (stellar, void, crystal)

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

export const LEGENDARY_SPELL_EFFECTS: Record<string, EnchantmentEffectDef> = {
  spell_stellarNova: {
    id: 'spell_stellarNova',
    name: 'Stellar Nova',
    description: 'Grants the ability to cast Stellar Nova (500 stellar damage)',
    category: 'spell',
    baseCapacityCost: 600,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'stellarNova' }
  },
  spell_voidCollapse: {
    id: 'spell_voidCollapse',
    name: 'Void Collapse',
    description: 'Grants the ability to cast Void Collapse (450 void damage)',
    category: 'spell',
    baseCapacityCost: 550,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'voidCollapse' }
  },
  spell_crystalShatter: {
    id: 'spell_crystalShatter',
    name: 'Crystal Shatter',
    description: 'Grants the ability to cast Crystal Shatter (400 crystal damage)',
    category: 'spell',
    baseCapacityCost: 500,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'crystalShatter' }
  },
};
