// ─── Shadow Glass Spell Effects ──────────────────────────────────
// Shadow Glass spells - Earth + Dark compound, spike/armor pierce focus

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

export const SHADOWGLASS_SPELL_EFFECTS: Record<string, EnchantmentEffectDef> = {
  spell_shadowSpike: {
    id: 'spell_shadowSpike',
    name: 'Shadow Spike',
    description: 'Grants the ability to cast Shadow Spike (15 shadowglass damage, armor pierce)',
    category: 'spell',
    baseCapacityCost: 88,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'shadowSpike' }
  },
  spell_darkShard: {
    id: 'spell_darkShard',
    name: 'Dark Shard',
    description: 'Grants the ability to cast Dark Shard (24 shadowglass damage, armor pierce)',
    category: 'spell',
    baseCapacityCost: 115,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'darkShard' }
  },
  spell_obsidianStorm: {
    id: 'spell_obsidianStorm',
    name: 'Obsidian Storm',
    description: 'Grants the ability to cast Obsidian Storm (42 shadowglass damage, AoE armor pierce)',
    category: 'spell',
    baseCapacityCost: 185,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'obsidianStorm' }
  },
  spell_voidBlade: {
    id: 'spell_voidBlade',
    name: 'Void Blade',
    description: 'Grants the ability to cast Void Blade (60 shadowglass damage, high armor pierce)',
    category: 'spell',
    baseCapacityCost: 225,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'voidBlade' }
  },
  spell_shadowGlassCataclysm: {
    id: 'spell_shadowGlassCataclysm',
    name: 'Shadow Glass Cataclysm',
    description: 'Grants the ability to cast Shadow Glass Cataclysm (155 shadowglass damage, armor pierce)',
    category: 'spell',
    baseCapacityCost: 415,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'shadowGlassCataclysm' }
  },
};
