game: 입관했던 국가 재임관 가능

This commit is contained in:
Hide_D committed 2022-05-18 01:41:37 +09:00
1 parent b710a26b3e
commit e3716bda56
7 files changed
+7 -47

No files matched your search

@@ -118,13 +118,6 @@ class che_등용수락 extends Command\GeneralCommand{
$destNationID = $this->destNation['nation'];
$destNationName = $this->destNation['name'];
$relYear = $env['year'] - $env['startyear'];
if($general->getNPCType() == 1 || $relYear >= 3){
$joinedNations = $general->getAuxVar('joinedNations')??[];
$joinedNations[] = $destNationID;
$general->setAuxVar('joinedNations', $joinedNations);
}
$isTroopLeader = ($generalID == $general->getVar('troop'));
$destGeneral->addExperience(100);