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

This commit is contained in:
2022-10-04 10:02:39 +09:00
parent 82cdaa433e
commit c4537454f9
4 changed files with 4 additions and 4 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) / 10
$general->getAuxVar(InheritanceKey::max_belong->value) ?? 0
)
);
}