// ─── Enchantment Types ─────────────────────────────────────────────────
// Shared types for enchantment effects

import type { EquipmentCategory } from './equipment'

export type EnchantmentEffectCategory = 'spell' | 'mana' | 'combat' | 'elemental' | 'defense' | 'utility' | 'special'

export interface EnchantmentEffectDef {
  id: string;
  name: string;
  description: string;
  category: EnchantmentEffectCategory;
  baseCapacityCost: number;
  maxStacks: number;
  allowedEquipmentCategories: EquipmentCategory[];
  effect: {
    type: 'spell' | 'bonus' | 'multiplier' | 'special';
    spellId?: string;
    stat?: string;
    value?: number;
    specialId?: string;
  };
}
