fix: resolve 22 remaining issues - type exports, dead code, state mutations, orphaned components
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m19s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m19s
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
type DisciplineDefinition = {
|
||||
name: string;
|
||||
attunement: DisciplinesAttunementType;
|
||||
manaType: ManaType;
|
||||
baseCost: number;
|
||||
description: string;
|
||||
requires?: DisciplineDefinition[];
|
||||
};
|
||||
|
||||
enum DisciplinesAttunementType {
|
||||
base,
|
||||
enchanter,
|
||||
fabricator,
|
||||
invoker
|
||||
};
|
||||
|
||||
export const baseDisciplines: DisciplineDefinition[] = [
|
||||
{
|
||||
name: "Embercraft",
|
||||
attunement: DisciplinesAttunementType.base,
|
||||
manaType: "fire",
|
||||
baseCost: 10,
|
||||
description: "Basic flame projection with autocrit on combustion explosion",
|
||||
requires: []
|
||||
},
|
||||
{
|
||||
name: "Earthbind",
|
||||
attunement: DisciplinesAttunementType.base,
|
||||
manaType: "earth",
|
||||
baseCost: 12,
|
||||
description: "Basic mana chains with passive ground stability",
|
||||
requires: []
|
||||
}
|
||||
];
|
||||
@@ -1,34 +0,0 @@
|
||||
type DisciplineDefinition = {
|
||||
name: string;
|
||||
attunement: DisciplinesAttunementType;
|
||||
manaType: ManaType;
|
||||
baseCost: number;
|
||||
description: string;
|
||||
requires?: DisciplineDefinition[];
|
||||
};
|
||||
|
||||
enum DisciplinesAttunementType {
|
||||
base,
|
||||
enchanter,
|
||||
fabricator,
|
||||
invoker
|
||||
};
|
||||
|
||||
export const enchanterDisciplines: DisciplineDefinition[] = [
|
||||
{
|
||||
name: "Soulforge",
|
||||
attunement: DisciplinesAttunementType.enchanter,
|
||||
manaType: "light",
|
||||
baseCost: 25,
|
||||
description: "Mana chains that create permanent elemental storage nodes",
|
||||
requires: [{name: "Embercraft"}]
|
||||
},
|
||||
{
|
||||
name: "Mana Prism",
|
||||
attunement: DisciplinesAttunementType.enchanter,
|
||||
manaType: "light",
|
||||
baseCost: 30,
|
||||
description: "Prismatic mana focusing that reflexes attacks as fixed ratio",
|
||||
requires: [{name: "Soulforge"}]
|
||||
}
|
||||
];
|
||||
@@ -1,21 +0,0 @@
|
||||
import type { DisciplineDefinition } from '../../types/disciplines';
|
||||
|
||||
const fabricatorDisciplines: DisciplineDefinition[] = [
|
||||
{
|
||||
name: 'Metalworking',
|
||||
attunement: 'fabricator',
|
||||
manaType: 'metal',
|
||||
baseCosts: { mana: 28, time: 7 },
|
||||
description: 'Increase metal equipment crafting speed',
|
||||
thresholds: { xp: 140, interval: 70 }
|
||||
},
|
||||
{
|
||||
name: 'Crystal Shaping',
|
||||
attunement: 'fabricator',
|
||||
manaType: 'crystal',
|
||||
baseCosts: { mana: 30, time: 8 },
|
||||
description: 'Increase crystal equipment durability',
|
||||
thresholds: { xp: 160, interval: 80 }
|
||||
}
|
||||
];
|
||||
export default fabricatorDisciplines;
|
||||
@@ -1,21 +0,0 @@
|
||||
import type { DisciplineDefinition } from '../../types/disciplines';
|
||||
|
||||
const invokerDisciplines: DisciplineDefinition[] = [
|
||||
{
|
||||
name: 'Lightning Surge',
|
||||
attunement: 'invoker',
|
||||
manaType: 'lightning',
|
||||
baseCost: 30,
|
||||
description: 'Boost lightning spell damage',
|
||||
thresholds: { xp: 150, interval: 75 }
|
||||
},
|
||||
{
|
||||
name: 'Void Echo',
|
||||
attunement: 'invoker',
|
||||
manaType: 'void',
|
||||
baseCost: 35,
|
||||
description: 'Increase void spell cast speed',
|
||||
thresholds: { xp: 180, interval: 90 }
|
||||
}
|
||||
];
|
||||
export default invokerDisciplines;
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
// Import types
|
||||
import type { EnchantmentEffectCategory, EnchantmentEffectDef } from '../enchantment-types'
|
||||
import type { EquipmentCategory } from '../equipment'
|
||||
|
||||
// Import all category-specific effect collections
|
||||
import { SPELL_EFFECTS } from './spell-effects'
|
||||
|
||||
Reference in New Issue
Block a user