// ─── Radiant Flames Spells ───────────────────────────────────────────────────
// Radiant Flames magic - Light + Fire compound, blinding/heavy DoT focus
import type { SpellDef } from '../../types';
import { elemCost } from '../elements';

export const RADIANTFLAMES_SPELLS: Record<string, SpellDef> = {
  // Tier 1 - Basic Radiant Flames
  radiantBurst: {
    name: "Radiant Burst",
    elem: "radiantflames",
    dmg: 14,
    cost: elemCost("radiantflames", 2),
    tier: 1,
    castSpeed: 2,
    unlock: 210,
    studyTime: 3,
    desc: "A burst of blinding holy fire. Chance to blind enemies.",
    effects: [{ type: 'burn', value: 0.18 }, { type: 'blind', value: 0.1 }]
  },
  holyFlame: {
    name: "Holy Flame",
    elem: "radiantflames",
    dmg: 22,
    cost: elemCost("radiantflames", 3),
    tier: 1,
    castSpeed: 1.7,
    unlock: 340,
    studyTime: 4,
    desc: "Sacred fire that sears the unholy. Heavy burn effect.",
    effects: [{ type: 'burn', value: 0.22 }]
  },

  // Tier 2 - Advanced Radiant Flames
  blindingSun: {
    name: "Blinding Sun",
    elem: "radiantflames",
    dmg: 40,
    cost: elemCost("radiantflames", 6),
    tier: 2,
    castSpeed: 1.2,
    unlock: 1100,
    studyTime: 10,
    desc: "Summon a miniature sun. Blinds and burns all enemies.",
    isAoe: true,
    aoeTargets: 3,
    effects: [{ type: 'blind', value: 0.25 }, { type: 'burn', value: 0.25 }]
  },
  purifyingFire: {
    name: "Purifying Fire",
    elem: "radiantflames",
    dmg: 58,
    cost: elemCost("radiantflames", 8),
    tier: 2,
    castSpeed: 0.9,
    unlock: 1600,
    studyTime: 12,
    desc: "Holy flames that purify. Highest burn damage.",
    effects: [{ type: 'burn', value: 0.35 }]
  },

  // Tier 3 - Master Radiant Flames
  supernovaBlast: {
    name: "Supernova Blast",
    elem: "radiantflames",
    dmg: 150,
    cost: elemCost("radiantflames", 20),
    tier: 3,
    castSpeed: 0.5,
    unlock: 16000,
    studyTime: 30,
    desc: "Unleash the fury of a supernova. Blinds and incinerates.",
    effects: [{ type: 'blind', value: 0.4 }, { type: 'burn', value: 0.4 }]
  },
};
