fix: '최소 전투 가능 병력 수'를 매우 높여 출병 금지가 가능한 문제 수정
This commit is contained in:
@@ -2674,13 +2674,13 @@ class GeneralAI
|
|||||||
|
|
||||||
$db = DB::db();
|
$db = DB::db();
|
||||||
|
|
||||||
if ($general->getVar('train') < $this->nationPolicy->properWarTrainAtmos) {
|
if ($general->getVar('train') < min(100, $this->nationPolicy->properWarTrainAtmos)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if ($general->getVar('atmos') < $this->nationPolicy->properWarTrainAtmos) {
|
if ($general->getVar('atmos') < min(100, $this->nationPolicy->properWarTrainAtmos)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if ($general->getVar('crew') < $this->nationPolicy->minWarCrew) {
|
if ($general->getVar('crew') < min(($this->fullLeadership - 2) * 100, $this->nationPolicy->minWarCrew)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user