From 8afbc750c35be1f9d9fe92d5bb3fcb24d6fac3e8 Mon Sep 17 00:00:00 2001 From: Lector Date: Wed, 10 Jun 2026 21:57:06 +0200 Subject: [PATCH 1/2] Added "Add" and "Subtract" to the arithmethic options. --- src/types/_ActivatableSkillCheckResultBased.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/_ActivatableSkillCheckResultBased.ts b/src/types/_ActivatableSkillCheckResultBased.ts index e1b76498..d97d812b 100644 --- a/src/types/_ActivatableSkillCheckResultBased.ts +++ b/src/types/_ActivatableSkillCheckResultBased.ts @@ -14,6 +14,8 @@ const CheckResultArithmetic = DB.Enum(import.meta.url, { name: "CheckResultArithmetic", comment: "Defines how the the `value` is set off against the check result.", values: () => ({ + Add: DB.EnumCase({ type: null }), + Subtract: DB.EnumCase({ type: null }), Multiply: DB.EnumCase({ type: null }), Divide: DB.EnumCase({ type: null }), }), From 755b559ea4acfedab3f3c43632f249423b0a1f1a Mon Sep 17 00:00:00 2001 From: Lector Date: Wed, 10 Jun 2026 22:02:58 +0200 Subject: [PATCH 2/2] Changed minimum of arithmethic to 1 --- src/types/_ActivatableSkillCheckResultBased.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/_ActivatableSkillCheckResultBased.ts b/src/types/_ActivatableSkillCheckResultBased.ts index d97d812b..8d5ef0a5 100644 --- a/src/types/_ActivatableSkillCheckResultBased.ts +++ b/src/types/_ActivatableSkillCheckResultBased.ts @@ -31,7 +31,7 @@ export const CheckResultBasedModifier = DB.TypeAlias(import.meta.url, { }), value: DB.Required({ comment: "The value that is applied to the `base` using the defined `arithmetic`.", - type: DB.Integer({ minimum: 2 }), + type: DB.Integer({ minimum: 1 }), }), }), })