// ─── Base Disciplines ─────────────────────────────────────────────────────────
// Disciplines available to all attunements

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

export const baseDisciplines: DisciplineDefinition[] = [
  {
    id: 'raw-mastery',
    name: 'Raw Mana Mastery',
    attunement: 'base',
    manaType: 'raw',
    baseCost: 5,
    description: 'Learn to harness raw mana more efficiently.',
    statBonus: { stat: 'maxManaBonus', baseValue: 10 },
    difficultyFactor: 100,
    scalingFactor: 50,
    drainBase: 1,
    perks: [
      {
        id: 'raw-mastery-1',
        type: 'once',
        threshold: 100,
        value: 0,
        description: '+50 Max Mana',
      },
      {
        id: 'raw-mastery-2',
        type: 'infinite',
        threshold: 500,
        value: 100,
        description: 'Every 100 XP: +25 Max Mana',
      },
    ],
  },
  {
    id: 'elemental-attunement',
    name: 'Elemental Attunement',
    attunement: 'base',
    manaType: 'fire',
    baseCost: 10,
    description: 'Begin focusing raw mana into fire.',
    statBonus: { stat: 'elementCap_fire', baseValue: 5 },
    difficultyFactor: 150,
    scalingFactor: 75,
    drainBase: 2,
    perks: [
      {
        id: 'elem-attunement-1',
        type: 'once',
        threshold: 200,
        value: 0,
        description: '+10 Fire Capacity',
      },
    ],
  },
];