Files
Mana-Loop/src/lib/game/data/disciplines/enchanter-special.ts
T
n8n-gitea 635b3b3f70
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s
feat: discipline UI improvements - stat labels, prerequisites, mana type tab
- Add player-friendly label field to statBonus in DisciplineDefinition
- Show prerequisite requirements on locked discipline cards
- Disable activate button for locked disciplines
- Restructure elemental attunement into dedicated 'Mana Types' tab
- Add checkDisciplinePrerequisites utility function
- Update store to enforce prerequisite checking on activation
- Split discipline-prerequisites tests into separate file
2026-05-25 15:20:02 +02:00

72 lines
2.2 KiB
TypeScript

// ─── Enchanter Special Disciplines ─────────────────────────────────────────────
// Disciplines for unlocking unique and powerful special enchantment effects
import { DisciplinesAttunementType } from '../../types/disciplines';
import type { DisciplineDefinition } from '../../types/disciplines';
export const enchanterSpecialDisciplines: DisciplineDefinition[] = [
{
id: 'study-special-enchantments',
name: 'Study Special Enchantments',
attunement: DisciplinesAttunementType.ENCHANTER,
manaType: 'death',
baseCost: 22,
description: 'Learn to enchant equipment with unique and powerful effects.',
statBonus: { stat: 'enchantPower', baseValue: 5, label: 'Enchantment Power' },
difficultyFactor: 220,
scalingFactor: 130,
drainBase: 4,
requires: ['study-advanced-weapon-enchantments'],
perks: [
{
id: 'special-spell-echo',
type: 'once',
threshold: 100,
value: 0,
description: 'Unlock Echo Chamber enchantment',
unlocksEffects: ['spell_echo_10'],
},
{
id: 'special-guardian-dmg',
type: 'once',
threshold: 80,
value: 0,
description: 'Unlock Bane enchantment',
unlocksEffects: ['guardian_dmg_10'],
},
{
id: 'special-overpower',
type: 'once',
threshold: 150,
value: 0,
description: 'Unlock Overpower enchantment',
unlocksEffects: ['overpower_80'],
},
{
id: 'special-first-strike',
type: 'once',
threshold: 120,
value: 0,
description: 'Unlock First Strike enchantment',
unlocksEffects: ['first_strike'],
},
{
id: 'special-combo-master',
type: 'once',
threshold: 200,
value: 0,
description: 'Unlock Combo Master enchantment',
unlocksEffects: ['combo_master'],
},
{
id: 'special-adrenaline-rush',
type: 'once',
threshold: 180,
value: 0,
description: 'Unlock Adrenaline Rush enchantment',
unlocksEffects: ['adrenaline_rush'],
},
],
},
];