// ─── Time Spells ──────────────────────────────────────────────────────────────
// Time magic - Soul + Sand + Transference exotic, slow/temporal focus
import type { SpellDef } from '../../types';
import { elemCost } from '../elements';

export const TIME_SPELLS: Record<string, SpellDef> = {
  // Tier 4 - Time Spells (temporal manipulation)
  temporalWarp: {
    name: "Temporal Warp",
    elem: "time",
    dmg: 280,
    cost: elemCost("time", 10),
    tier: 4,
    castSpeed: 0.7,
    unlock: 45000,
    studyTime: 40,
    desc: "Warp time around enemies. Slows speed, reduces dodge.",
    effects: [{ type: 'slow', value: 0.5 }, { type: 'temporal_dodge_reduction', value: 0.4 }]
  },
  chronoStasis: {
    name: "Chrono Stasis",
    elem: "time",
    dmg: 500,
    cost: elemCost("time", 18),
    tier: 4,
    castSpeed: 0.35,
    unlock: 70000,
    studyTime: 55,
    desc: "Freeze enemies in time. Stops mage room recast entirely.",
    effects: [{ type: 'slow', value: 0.7 }, { type: 'temporal_dodge_reduction', value: 0.6 }, { type: 'mage_lock', value: 1.0 }]
  },
};
