feat: implement Active Disciplines system
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 31s

This commit is contained in:
2026-05-16 19:17:12 +02:00
parent c8341f79f3
commit e462bfcc13
17 changed files with 992 additions and 100 deletions
@@ -0,0 +1,56 @@
// ─── Fabricator Discipline Files ──────────────────────────────────────────────
// Attunement-focused disciplines for Fabricator role
import type { DisciplineDefinition } from '../../types/disciplines';
export const fabricatorDisciplines: DisciplineDefinition[] = [
{
id: 'golem-crafting',
name: 'Golem Crafting',
attunement: 'fabricator',
manaType: 'earth',
baseCost: 10,
description: 'Improve your ability to craft and maintain golems.',
statBonus: { stat: 'golemCapacity', baseValue: 2 },
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: 5,
description: 'Double golem capacity at 500 XP',
},
],
},
{
id: 'crafting-efficiency',
name: 'Crafting Efficiency',
attunement: 'fabricator',
manaType: 'sand',
baseCost: 12,
description: 'Reduce material costs for crafting.',
statBonus: { stat: 'craftingCostReduction', baseValue: 15 },
difficultyFactor: 180,
scalingFactor: 90,
drainBase: 6,
perks: [
{
id: 'efficiency-1',
type: 'once',
threshold: 300,
value: 0,
description: 'Unlock reduced crafting costs',
},
],
},
];