// ─── Master Spells (Tier 3) ─────────────────────────────────────────────────
// 20-30 hours study
import type { SpellDef } from '../../types';
import { elemCost } from '../elements';

export const MASTER_SPELLS: Record<string, SpellDef> = {
  // Tier 3 - Master Spells (20-30 hours study)
  pyroclasm: {
    name: "Pyroclasm",
    elem: "fire",
    dmg: 250,
    cost: elemCost("fire", 25),
    tier: 3,
    castSpeed: 0.6,
    unlock: 10000,
    studyTime: 24,
    desc: "An eruption of volcanic fury."
  },
  tsunami: {
    name: "Tsunami",
    elem: "water",
    dmg: 220,
    cost: elemCost("water", 22),
    tier: 3,
    castSpeed: 0.65,
    unlock: 10000,
    studyTime: 24,
    desc: "A towering wall of water."
  },
  meteorStrike: {
    name: "Meteor Strike",
    elem: "earth",
    dmg: 280,
    cost: elemCost("earth", 28),
    tier: 3,
    castSpeed: 0.5,
    unlock: 12000,
    studyTime: 28,
    desc: "Call down a meteor from the heavens."
  },
  cosmicStorm: {
    name: "Cosmic Storm",
    elem: "air",
    dmg: 200,
    cost: elemCost("air", 20),
    tier: 3,
    castSpeed: 0.7,
    unlock: 10000,
    studyTime: 24,
    desc: "A storm of cosmic proportions."
  },
  heavenLight: {
    name: "Heaven's Light",
    elem: "light",
    dmg: 240,
    cost: elemCost("light", 24),
    tier: 3,
    castSpeed: 0.6,
    unlock: 11000,
    studyTime: 26,
    desc: "The light of heaven itself."
  },
  oblivion: {
    name: "Oblivion",
    elem: "dark",
    dmg: 230,
    cost: elemCost("dark", 23),
    tier: 3,
    castSpeed: 0.6,
    unlock: 10500,
    studyTime: 25,
    desc: "Consign to oblivion."
  },
  deathMark: {
    name: "Death Mark",
    elem: "death",
    dmg: 200,
    cost: elemCost("death", 20),
    tier: 3,
    castSpeed: 0.7,
    unlock: 10000,
    studyTime: 24,
    desc: "Mark for death."
  },
};
