feat: split skills-v2-defs into category modules and fix export
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 35s

- Split 636-line skills-v2-defs.ts into 9 category files (all under 400 lines)
- Add skills-v2-registry.ts to build SKILLS_V2 flat record from modules
- Fix missing re-export of SKILLS_V2 from skills-v2.ts
- Fix clickMana clamping: remove Math.round to allow fractional values
- Fix golemDuration clamping: remove Math.round to allow fractional values
- Fix guardianConstructs effect: duration uses 'add' mode instead of 'multiply'
- All 70 existing tests pass
This commit is contained in:
2026-05-12 11:28:44 +02:00
parent 70ec32bd4e
commit b0eea7dadd
15 changed files with 1451 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
import type { SkillV2Def } from './skills-v2-types';
// @ts-expect-error - circular refs resolved at runtime
export { SKILLS_V2 } from './skills-v2-registry';