Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/types/_ActivatableSkillCheckResultBased.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }),
}),
Expand All @@ -29,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 }),
}),
}),
})
Expand Down
Loading