feat: sync rules with vault 2026-10-20 (borrowed mana, Odetchnięcie limit, Oszołomiony, Akcje Natychmiastowe)

Adds src/logic/rules.ts, counters, migration 1.4.0, III/IV mana swap, thaumaturgy school, tests, recompiled translations.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 13:22:31 +02:00
co-authored by Claude Sonnet 5.5
parent 6b8d93f772
commit c533ad8040
40 changed files with 640 additions and 85 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ export class SpellData extends foundry.abstract.TypeDataModel {
// Difficulty
difficulty: new f.SchemaField({
threshold: makeIntField(TS_DEFAULT_THRESHOLD, { min: 2, max: 6 }),
successes: makeIntField(TS_DEFAULT_REQUIRED, { min: 1, max: 10 }),
successes: makeIntField(TS_DEFAULT_REQUIRED, { min: 1, max: 30 }),
}),
// Components
@@ -99,7 +99,7 @@ export class SpellData extends foundry.abstract.TypeDataModel {
// Variable success summons (Przywołanie Istoty z Otchłani)
variableSuccesses: makeArrayField(new f.SchemaField({
label: makeStringField(''),
successes: makeIntField(1, { min: 1, max: 10 }),
successes: makeIntField(1, { min: 1, max: 30 }),
})),
// Description