Files
Mana-Loop/src/lib/game/data/disciplines/fabricator.ts
T
n8n-gitea 8cebea9586 fix(#165,#166,#167,#168,#169,#171,#172): resolve 7 open bug issues
#172 - Grimoire tab: removed dead 'loaded' state guard that permanently showed loading
#169 - Transference Mana Flow: added elements param to checkDisciplinePrerequisites so mana type unlocks are verified
#168 - Perk descriptions: wired 4 broken perks (enchant-2, channel-1, golem-2, efficiency-1) with actual bonus effects; fixed enchant-1 interval (5→50); fixed study-mana-enchantments stat (maxMana→maxManaBonus)
#171 - Shields: removed all shield equipment (4 types), recipes, category, slot mappings; added 'shields' to AGENTS.md banned list
#166 - regenMultiplier: merged disciplineEffects.multipliers.regenMultiplier into computeAllEffects()
#165 - Meditation cap: added meditationCap display to ManaStatsSection UI; updated perk description
#167 - XP accumulation: added Meditative Mastery base discipline with disciplineXpBonus stat; wired into tick pipeline
2026-05-28 09:32:43 +02:00

60 lines
1.8 KiB
TypeScript

// ─── Fabricator Discipline Files ──────────────────────────────────────────────
// Attunement-focused disciplines for Fabricator role
import { DisciplinesAttunementType } from '../../types/disciplines';
import type { DisciplineDefinition } from '../../types/disciplines';
export const fabricatorDisciplines: DisciplineDefinition[] = [
{
id: 'golem-crafting',
name: 'Golem Crafting',
attunement: DisciplinesAttunementType.FABRICATOR,
manaType: 'earth',
baseCost: 10,
description: 'Improve your ability to craft and maintain golems.',
statBonus: { stat: 'golemCapacity', baseValue: 2, label: 'Golem Capacity' },
difficultyFactor: 150,
scalingFactor: 80,
drainBase: 4,
perks: [
{
id: 'golem-1',
type: 'once',
threshold: 200,
value: 0,
description: 'Unlock golem summoning',
},
{
id: 'golem-2',
type: 'capped',
threshold: 500,
value: 250,
maxTier: 2,
description: '+1 Golem Capacity per tier (max 2)',
bonus: { stat: 'golemCapacity', amount: 1 },
},
],
},
{
id: 'crafting-efficiency',
name: 'Crafting Efficiency',
attunement: DisciplinesAttunementType.FABRICATOR,
manaType: 'earth',
baseCost: 12,
description: 'Reduce material costs for crafting.',
statBonus: { stat: 'craftingCostReduction', baseValue: 15, label: 'Crafting Cost Reduction' },
difficultyFactor: 180,
scalingFactor: 90,
drainBase: 6,
perks: [
{
id: 'efficiency-1',
type: 'once',
threshold: 300,
value: 0,
description: '+10% Crafting Cost Reduction',
bonus: { stat: 'craftingCostReduction', amount: 10 },
},
],
},
];