Clamp campaign bond levels

This commit is contained in:
2026-07-05 14:52:09 +09:00
parent 3d48ef3c80
commit 44b2c6064c
2 changed files with 8 additions and 7 deletions

View File

@@ -983,7 +983,7 @@ function normalizeCharacterExpForLevel(level: number, value: unknown) {
}
function normalizeBondLevel(value: unknown) {
return Math.min(100, normalizeNonNegativeInteger(value));
return Math.min(100, Math.max(1, normalizeNonNegativeInteger(value)));
}
function normalizeBondExpForLevel(level: number, value: unknown) {