fix: AI 발령 턴 오류 수정
This commit is contained in:
1 parent
f33a3989ea
commit
be27328404
1 file changed
+2
-2
@@ -709,7 +709,7 @@ class GeneralAI
|
||||
|
||||
$cmd = buildNationCommandClass('che_발령', $this->general, $this->env, $lastTurn, [
|
||||
'destGeneralID'=>$pickedGeneral->getID(),
|
||||
'destCityID'=>Util::choiceRandom($recruitableCityList)['city']
|
||||
'destCityID'=>Util::choiceRandomUsingWeight($recruitableCityList)
|
||||
]);
|
||||
|
||||
if(!$cmd->hasFullConditionMet()){
|
||||
@@ -1009,7 +1009,7 @@ class GeneralAI
|
||||
|
||||
$cmd = buildNationCommandClass('che_발령', $this->general, $this->env, $lastTurn, [
|
||||
'destGeneralID'=>$pickedGeneral->getID(),
|
||||
'destCityID'=>Util::choiceRandom($recruitableCityList)['city']
|
||||
'destCityID'=>Util::choiceRandomUsingWeight($recruitableCityList)
|
||||
]);
|
||||
|
||||
if(!$cmd->hasFullConditionMet()){
|
||||
|
||||
Reference in new issue
Block a user