// ─── Enchanter Discipline Files ──────────────────────────────────────────────
// Attunement-focused disciplines for Enchanter role

import type { DisciplineDefinition } from '../../types/disciplines';

export const enchanterDisciplines: DisciplineDefinition[] = [
  {
    id: 'enchant-crafting',
    name: 'Enchantment Crafting',
    attunement: 'enchanter',
    manaType: 'transference',
    baseCost: 8,
    description: 'Improve your ability to apply enchantments to equipment.',
    statBonus: { stat: 'enchantPower', baseValue: 8 },
    difficultyFactor: 120,
    scalingFactor: 60,
    drainBase: 3,
    perks: [
      {
        id: 'enchant-1',
        type: 'infinite',
        threshold: 150,
        value: 5,
        description: '+5 Enchantment Power (stacks with skill tiers)',
      },
      {
        id: 'enchant-2',
        type: 'capped',
        threshold: 300,
        value: 20,
        description: 'Double enchantment duration at 300 XP',
      },
    ],
  },
  {
    id: 'mana-channeling',
    name: 'Mana Channeling',
    attunement: 'enchanter',
    manaType: 'lightning',
    baseCost: 12,
    description: 'Use lightning to transfer mana to equipment.',
    statBonus: { stat: 'clickManaMultiplier', baseValue: 0.3 },
    difficultyFactor: 180,
    scalingFactor: 90,
    drainBase: 5,
    perks: [
      {
        id: 'channel-1',
        type: 'once',
        threshold: 250,
        value: 0,
        description: 'Unlock lightning mana boosting',
      },
    ],
  },
];