Skip to content
Closed
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
5 changes: 5 additions & 0 deletions src/types/Profession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) =>
[
Expand Down
Loading