feat(engine): damage-resistance modifier descriptor

- Add DAMAGE_RESISTANCE_DESCRIPTOR with multiplicative stacking rule
- Export applyResistance() and stackResistances() math helpers
- 14 tests covering registry, apply, describe, applyResistance, stackResistances
- Fix eslint varsIgnorePattern to allow _-prefixed destructuring vars
- Remove now-redundant eslint-disable comment in schema.test.ts
This commit is contained in:
Joey Yakimowich-Payne 2026-04-18 22:22:31 -06:00
commit 99a091509d
No known key found for this signature in database
4 changed files with 137 additions and 2 deletions

View file

@ -8,7 +8,7 @@ export default tseslint.config(
{
rules: {
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
},
},
// Engine RHS purity: ban impure globals in rete/src