유산 포인트 추가

This commit is contained in:
2021-08-08 04:02:27 +09:00
parent 44bd408471
commit e5ff11dd27
11 changed files with 101 additions and 19 deletions
+6
View File
@@ -1724,6 +1724,12 @@ function deleteNation(General $lord, bool $applyDB):array
// 전 장수 재야로
foreach($nationGeneralList as $general){
$general->setAuxVar('max_belong',
max(
$general->getVar('belong'),
$general->getAuxVar('max_belong')??0
)
);
$general->setVar('belong', 0);
$general->setVar('troop', 0);
$general->setVar('officer_level', 0);