// ─── Miasma Spell Effects ───────────────────────────────────────
// Miasma spells - Air + Death compound, toxic/plague/armor corrosion focus

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

export const MIASMA_SPELL_EFFECTS: Record<string, EnchantmentEffectDef> = {
  spell_toxicCloud: {
    id: 'spell_toxicCloud',
    name: 'Toxic Cloud',
    description: 'Grants the ability to cast Toxic Cloud (9 miasma damage, poison)',
    category: 'spell',
    baseCapacityCost: 76,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'toxicCloud' }
  },
  spell_plagueTouch: {
    id: 'spell_plagueTouch',
    name: 'Plague Touch',
    description: 'Grants the ability to cast Plague Touch (16 miasma damage, poison+corrode)',
    category: 'spell',
    baseCapacityCost: 100,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'plagueTouch' }
  },
  spell_miasmaBurst: {
    id: 'spell_miasmaBurst',
    name: 'Miasma Burst',
    description: 'Grants the ability to cast Miasma Burst (32 miasma damage, AoE poison+corrode)',
    category: 'spell',
    baseCapacityCost: 165,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'miasmaBurst' }
  },
  spell_pestilence: {
    id: 'spell_pestilence',
    name: 'Pestilence',
    description: 'Grants the ability to cast Pestilence (48 miasma damage, poison+corrode)',
    category: 'spell',
    baseCapacityCost: 195,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'pestilence' }
  },
  spell_deathMiasma: {
    id: 'spell_deathMiasma',
    name: 'Death Miasma',
    description: 'Grants the ability to cast Death Miasma (130 miasma damage, AoE poison+corrode)',
    category: 'spell',
    baseCapacityCost: 390,
    maxStacks: 1,
    allowedEquipmentCategories: ALL_CASTER,
    effect: { type: 'spell', spellId: 'deathMiasma' }
  },
};
