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

This commit is contained in:
2022-05-18 01:41:37 +09:00
parent b710a26b3e
commit e3716bda56
7 changed files with 7 additions and 47 deletions
@@ -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);