forked from devsam/core
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f00aee947 | ||
|
|
dd2b032fa3 | ||
|
|
69f4d8e2c7 | ||
|
|
f24aea0120 |
@@ -90,6 +90,9 @@ class BuildNationCandidate extends \sammo\BaseAPI
|
||||
return '거병을 실패했습니다.';
|
||||
}
|
||||
|
||||
$general->setVar('killturn', $env['killturn']);
|
||||
$general->applyDB($db);
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3439,8 +3439,12 @@ class GeneralAI
|
||||
|
||||
$cmd = buildGeneralCommandClass($this->rng->choice($candidate), $this->general, $this->env);
|
||||
if (!$cmd->hasFullConditionMet()) {
|
||||
return buildGeneralCommandClass('che_물자조달', $this->general, $this->env);
|
||||
$cmd = buildGeneralCommandClass('che_물자조달', $this->general, $this->env);
|
||||
if (!$cmd->hasFullConditionMet()) {
|
||||
$cmd = buildGeneralCommandClass('che_견문', $this->general, $this->env);
|
||||
}
|
||||
}
|
||||
|
||||
return $cmd;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user