Files
Mana-Loop/src/lib/game/data/disciplines/enchanter-utility.ts
T
n8n-gitea 964619b975
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m46s
fix: enchanter disciplines now use transference mana
- Changed manaType from elemental to 'transference' for 9 enchanter disciplines:
  - enchanter.ts: mana-channeling, study-basic-weapon-enchantments, study-advanced-weapon-enchantments
  - enchanter-utility.ts: study-utility-enchantments, study-mana-enchantments
  - enchanter-spells.ts: study-basic-spell-enchantments, study-intermediate-spell-enchantments, study-advanced-spell-enchantments
  - enchanter-special.ts: study-special-enchantments
- Fixed misleading description in mana-channeling discipline
2026-05-27 11:16:33 +02:00

109 lines
3.1 KiB
TypeScript

// ─── Enchanter Utility & Mana Disciplines ──────────────────────────────────────
// Disciplines for unlocking utility and mana enchantment effects
import { DisciplinesAttunementType } from '../../types/disciplines';
import type { DisciplineDefinition } from '../../types/disciplines';
export const enchanterUtilityDisciplines: DisciplineDefinition[] = [
{
id: 'study-utility-enchantments',
name: 'Study Utility Enchantments',
attunement: DisciplinesAttunementType.ENCHANTER,
manaType: 'transference',
baseCost: 8,
description: 'Learn to enchant equipment with utility effects.',
statBonus: { stat: 'studySpeed', baseValue: 0.05, label: 'Study Speed' },
difficultyFactor: 80,
scalingFactor: 60,
drainBase: 2,
perks: [
{
id: 'utility-meditate',
type: 'once',
threshold: 50,
value: 0,
description: 'Unlock Meditative Focus enchantment',
unlocksEffects: ['meditate_10'],
},
{
id: 'utility-study',
type: 'once',
threshold: 100,
value: 0,
description: 'Unlock Quick Study enchantment',
unlocksEffects: ['study_10'],
},
{
id: 'utility-insight',
type: 'once',
threshold: 150,
value: 0,
description: 'Unlock Insightful enchantment',
unlocksEffects: ['insight_5'],
},
],
},
{
id: 'study-mana-enchantments',
name: 'Study Mana Enchantments',
attunement: DisciplinesAttunementType.ENCHANTER,
manaType: 'transference',
baseCost: 15,
description: 'Learn to enchant equipment with mana-boosting effects.',
statBonus: { stat: 'maxMana', baseValue: 10, label: 'Max Mana' },
difficultyFactor: 150,
scalingFactor: 100,
drainBase: 3,
perks: [
{
id: 'mana-cap-50',
type: 'once',
threshold: 75,
value: 0,
description: 'Unlock Mana Reserve enchantment',
unlocksEffects: ['mana_cap_50'],
},
{
id: 'mana-cap-100',
type: 'once',
threshold: 150,
value: 0,
description: 'Unlock Mana Reservoir enchantment',
unlocksEffects: ['mana_cap_100'],
},
{
id: 'mana-regen-1',
type: 'once',
threshold: 100,
value: 0,
description: 'Unlock Trickle enchantment',
unlocksEffects: ['mana_regen_1'],
},
{
id: 'mana-regen-2',
type: 'once',
threshold: 200,
value: 0,
description: 'Unlock Stream enchantment',
unlocksEffects: ['mana_regen_2'],
},
{
id: 'click-mana-1',
type: 'once',
threshold: 125,
value: 0,
description: 'Unlock Mana Tap enchantment',
unlocksEffects: ['click_mana_1'],
},
{
id: 'click-mana-3',
type: 'once',
threshold: 225,
value: 0,
description: 'Unlock Mana Surge enchantment',
unlocksEffects: ['click_mana_3'],
},
],
},
];