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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user