// ─── Tier 3 Master Spells ─────────────────────────────────────

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

export const TIER3_SPELL_EFFECTS: Record<string, EnchantmentEffectDef> = {
  spell_pyroclasm: {
    id: 'spell_pyroclasm',
    name: 'Pyroclasm',
    description: 'Grants the ability to cast Pyroclasm (250 fire damage)',
    category: 'spell',
    baseCapacityCost: 400,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'pyroclasm' }
  },
  spell_tsunami: {
    id: 'spell_tsunami',
    name: 'Tsunami',
    description: 'Grants the ability to cast Tsunami (220 water damage)',
    category: 'spell',
    baseCapacityCost: 380,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'tsunami' }
  },
  spell_meteorStrike: {
    id: 'spell_meteorStrike',
    name: 'Meteor Strike',
    description: 'Grants the ability to cast Meteor Strike (280 earth damage)',
    category: 'spell',
    baseCapacityCost: 420,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'meteorStrike' }
  },
  spell_cosmicStorm: {
    id: 'spell_cosmicStorm',
    name: 'Cosmic Storm',
    description: 'Grants the ability to cast Cosmic Storm (200 air damage)',
    category: 'spell',
    baseCapacityCost: 370,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'cosmicStorm' }
  },
  spell_heavenLight: {
    id: 'spell_heavenLight',
    name: "Heaven's Light",
    description: 'Grants the ability to cast Heaven\'s Light (240 light damage)',
    category: 'spell',
    baseCapacityCost: 390,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'heavenLight' }
  },
  spell_oblivion: {
    id: 'spell_oblivion',
    name: 'Oblivion',
    description: 'Grants the ability to cast Oblivion (230 dark damage)',
    category: 'spell',
    baseCapacityCost: 385,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'oblivion' }
  },
  spell_deathMark: {
    id: 'spell_deathMark',
    name: 'Death Mark',
    description: 'Grants the ability to cast Death Mark (200 death damage)',
    category: 'spell',
    baseCapacityCost: 370,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'deathMark' }
  },
};
