feat: derive Obrażenia +1 damageCategory from vault spell category

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E48f1kXhsEbAUxdkNP1yDM
This commit is contained in:
2026-10-30 08:11:35 +01:00
co-authored by Claude Sonnet 5.5
parent d9d94a465c
commit 5b1d57165e
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -21,6 +21,8 @@ describe('spell-parser', () => {
expect(s.difficulty).toEqual({ threshold: 4, successes: 1 });
expect(s.overcastOptions).toEqual([{ description: '+1 punkt Obrażeń', manaPerStep: 1 }]);
expect(s).not.toHaveProperty('circle');
expect(s.damageCategory).toBe(true);
expect((docs.find((d) => d.id === 'crimson-bolt')!.system as any).damageCategory).toBe(true);
for (const d of docs) {
const sys = d.system as any;