fix: 최대 임관년도 수 계산 버그

This commit is contained in:
2022-10-04 01:07:11 +09:00
parent 32dd3ff43f
commit 82cdaa433e
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1828,7 +1828,7 @@ function deleteNation(General $lord, bool $applyDB): array
InheritanceKey::max_belong->value,
max(
$general->getVar('belong'),
$general->getInheritancePoint(InheritanceKey::max_belong) ?? 0
($general->getInheritancePoint(InheritanceKey::max_belong) ?? 0) / 10
)
);
}