// ─── Soul Spells ──────────────────────────────────────────────────────────────
// Soul magic - Light + Dark + Transference exotic, bypasses defenses
import type { SpellDef } from '../../types';
import { elemCost } from '../elements';

export const SOUL_SPELLS: Record<string, SpellDef> = {
  // Tier 4 - Soul Spells (defense bypass)
  soulPierce: {
    name: "Soul Pierce",
    elem: "soul",
    dmg: 350,
    cost: elemCost("soul", 10),
    tier: 4,
    castSpeed: 0.6,
    unlock: 30000,
    studyTime: 36,
    desc: "Strike at the soul. Bypasses all armor and resistances.",
    effects: [{ type: 'defense_bypass', value: 1.0 }],
    onHitEffect: { type: 'burn', duration: 5, magnitude: 20, bypassArmor: true },
  },
  spiritBlast: {
    name: "Spirit Blast",
    elem: "soul",
    dmg: 550,
    cost: elemCost("soul", 16),
    tier: 4,
    castSpeed: 0.4,
    unlock: 60000,
    studyTime: 50,
    desc: "A blast of pure soul energy. Ignores all defenses entirely.",
    effects: [{ type: 'defense_bypass', value: 1.0 }, { type: 'resist_ignore', value: 0.5 }],
    onHitEffect: { type: 'burn', duration: 5, magnitude: 35, bypassArmor: true },
  },
};
