// ─── Advanced Spells (Tier 2) ────────────────────────────────────────────────
// 8-12 hours study
import type { SpellDef } from '../../types';
import { elemCost } from '../elements';

export const ADVANCED_SPELLS: Record<string, SpellDef> = {
  // Tier 2 - Advanced Spells (8-12 hours study)
  inferno: {
    name: "Inferno",
    elem: "fire",
    dmg: 60,
    cost: elemCost("fire", 8),
    tier: 2,
    castSpeed: 1,
    unlock: 1000,
    studyTime: 8,
    desc: "Engulf your enemy in flames."
  },
  flameWave: {
    name: "Flame Wave",
    elem: "fire",
    dmg: 45,
    cost: elemCost("fire", 6),
    tier: 2,
    castSpeed: 1.5,
    unlock: 800,
    studyTime: 6,
    desc: "A wave of fire sweeps across the battlefield."
  },
  tidalWave: {
    name: "Tidal Wave",
    elem: "water",
    dmg: 55,
    cost: elemCost("water", 8),
    tier: 2,
    castSpeed: 1,
    unlock: 1000,
    studyTime: 8,
    desc: "A massive wave crashes down."
  },
  iceStorm: {
    name: "Ice Storm",
    elem: "water",
    dmg: 50,
    cost: elemCost("water", 7),
    tier: 2,
    castSpeed: 1.2,
    unlock: 900,
    studyTime: 7,
    desc: "A storm of ice shards."
  },
  earthquake: {
    name: "Earthquake",
    elem: "earth",
    dmg: 70,
    cost: elemCost("earth", 10),
    tier: 2,
    castSpeed: 0.8,
    unlock: 1200,
    studyTime: 10,
    desc: "Shake the very foundation."
  },
  stoneBarrage: {
    name: "Stone Barrage",
    elem: "earth",
    dmg: 55,
    cost: elemCost("earth", 7),
    tier: 2,
    castSpeed: 1.2,
    unlock: 1000,
    studyTime: 8,
    desc: "Multiple stone projectiles."
  },
  hurricane: {
    name: "Hurricane",
    elem: "air",
    dmg: 50,
    cost: elemCost("air", 8),
    tier: 2,
    castSpeed: 1,
    unlock: 1000,
    studyTime: 8,
    desc: "A devastating hurricane."
  },
  windBlade: {
    name: "Wind Blade",
    elem: "air",
    dmg: 40,
    cost: elemCost("air", 5),
    tier: 2,
    castSpeed: 1.8,
    unlock: 700,
    studyTime: 6,
    desc: "A blade of cutting wind."
  },
  solarFlare: {
    name: "Solar Flare",
    elem: "light",
    dmg: 65,
    cost: elemCost("light", 9),
    tier: 2,
    castSpeed: 0.9,
    unlock: 1100,
    studyTime: 9,
    desc: "A blinding flare of solar energy."
  },
  divineSmite: {
    name: "Divine Smite",
    elem: "light",
    dmg: 55,
    cost: elemCost("light", 7),
    tier: 2,
    castSpeed: 1.2,
    unlock: 900,
    studyTime: 7,
    desc: "A smite of divine power."
  },
  voidRift: {
    name: "Void Rift",
    elem: "dark",
    dmg: 55,
    cost: elemCost("dark", 8),
    tier: 2,
    castSpeed: 1,
    unlock: 1000,
    studyTime: 8,
    desc: "Open a rift to the void."
  },
  shadowStorm: {
    name: "Shadow Storm",
    elem: "dark",
    dmg: 48,
    cost: elemCost("dark", 6),
    tier: 2,
    castSpeed: 1.3,
    unlock: 800,
    studyTime: 6,
    desc: "A storm of shadows."
  },
  soulRend: {
    name: "Soul Rend",
    elem: "death",
    dmg: 50,
    cost: elemCost("death", 7),
    tier: 2,
    castSpeed: 1.1,
    unlock: 1100,
    studyTime: 9,
    desc: "Tear at the enemy's soul."
  },
};
