fix: '최소 전투 가능 병력 수'를 매우 높여 출병 금지가 가능한 문제 수정

This commit is contained in:
2021-11-20 00:37:07 +09:00
parent be1198b4a1
commit e1df980ece
+3 -3
View File
@@ -2674,13 +2674,13 @@ class GeneralAI
$db = DB::db();
if ($general->getVar('train') < $this->nationPolicy->properWarTrainAtmos) {
if ($general->getVar('train') < min(100, $this->nationPolicy->properWarTrainAtmos)) {
return null;
}
if ($general->getVar('atmos') < $this->nationPolicy->properWarTrainAtmos) {
if ($general->getVar('atmos') < min(100, $this->nationPolicy->properWarTrainAtmos)) {
return null;
}
if ($general->getVar('crew') < $this->nationPolicy->minWarCrew) {
if ($general->getVar('crew') < min(($this->fullLeadership - 2) * 100, $this->nationPolicy->minWarCrew)) {
return null;
}