Compare commits

...

3 Commits

Author SHA1 Message Date
Lector fcf0a4e785 Corrected description of new maximum field 2026-05-31 12:17:46 +02:00
Lector 10bee6c2d1 prettier 2026-05-31 12:06:04 +02:00
Lector 5cf4235426 Added an optional maximum to the SkillsOptions 2026-05-31 11:59:35 +02:00
+5
View File
@@ -747,6 +747,11 @@ const SkillsOptions = DB.TypeAlias(import.meta.url, {
comment: "The AP value you can buy skills for.",
type: DB.Integer({ minimum: 1 }),
}),
maximum: DB.Optional({
comment:
"If specified, you can only improve a single skill to that maximum with the provided AP value.",
type: DB.Integer({ minimum: 1 }),
}),
}),
customConstraints: ({ instanceContent, getInstanceById }) =>
[