From b0f47d70f11ae03596e6ad4e14323d1ed05b07cb Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 29 Apr 2020 00:28:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A7=95=EB=B3=91=20=EB=A1=9C=EC=A7=81=20?= =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GeneralAI.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index 7fbbe01d..b497fbb9 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -2185,9 +2185,15 @@ class GeneralAI if($this->generalPolicy->can고급병종){ $currCrewType = $general->getCrewTypeObj(); - if ($currCrewType->isValid($cities, $regions, $relYear, $tech) && $currCrewType->reqTech >= 2000) { - $type = $currCrewType->id; - } + if ($currCrewType->isValid($cities, $regions, $relYear, $tech)){ + if($currCrewType->reqTech >= 2000) { + $type = $currCrewType->id; + } + else if($currCrewType->armType != $armType && $currCrewType->reqTech >= 1000){ + //굳이 뽑은 이유가 있겠지 + $type = $currCrewType->id; + } + } } //NOTE: 훈련과 사기진작은 '금만 사용한다'는 가정을 하고 있음