리뷰 내용 반영
This commit is contained in:
@@ -90,9 +90,8 @@ class BuildNationCandidate extends \sammo\BaseAPI
|
|||||||
return '거병을 실패했습니다.';
|
return '거병을 실패했습니다.';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($general->getNPCType() < 2){
|
$general->setVar('killturn', $env['killturn']);
|
||||||
$general->setVar('killturn', $env['killturn']);
|
$general->applyDB($db);
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3438,12 +3438,14 @@ class GeneralAI
|
|||||||
|
|
||||||
|
|
||||||
$cmd = buildGeneralCommandClass($this->rng->choice($candidate), $this->general, $this->env);
|
$cmd = buildGeneralCommandClass($this->rng->choice($candidate), $this->general, $this->env);
|
||||||
if ($cmd->hasFullConditionMet()) return $cmd;
|
if (!$cmd->hasFullConditionMet()) {
|
||||||
|
$cmd = buildGeneralCommandClass('che_물자조달', $this->general, $this->env);
|
||||||
|
}
|
||||||
|
if (!$cmd->hasFullConditionMet()) {
|
||||||
|
$cmd = buildGeneralCommandClass('che_견문', $this->general, $this->env);
|
||||||
|
}
|
||||||
|
|
||||||
$cmd = buildGeneralCommandClass('che_물자조달', $this->general, $this->env);
|
return $cmd;
|
||||||
if ($cmd->hasFullConditionMet()) return $cmd;
|
|
||||||
|
|
||||||
return buildGeneralCommandClass('che_견문', $this->general, $this->env);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function categorizeNationCities(): void
|
protected function categorizeNationCities(): void
|
||||||
|
|||||||
Reference in New Issue
Block a user