refac: InheritPointManager를 Ds\Map으로 변경

This commit is contained in:
2022-05-08 20:11:38 +09:00
parent 5164585360
commit 282b413553
5 changed files with 95 additions and 95 deletions
+2 -2
View File
@@ -2015,10 +2015,10 @@ function deleteNation(General $lord, bool $applyDB): array
// 전 장수 재야로
foreach ($nationGeneralList as $general) {
$general->setAuxVar(
'max_belong',
InheritanceKey::max_belong->value,
max(
$general->getVar('belong'),
$general->getAuxVar('max_belong') ?? 0
$general->getAuxVar(InheritanceKey::max_belong->value) ?? 0
)
);
$general->setVar('belong', 0);