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:
parent
ff8b8d9bb0
commit
99a091509d
4 changed files with 137 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue