From 5f672d5bd1376584bf0d3a027ce8f21779a3bdbe Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 26 Jun 2020 00:16:56 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=B0=EC=88=98=20=EA=B8=B0=EC=A4=80=20?= =?UTF-8?q?=EC=99=84=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GeneralAI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index 05500803..31fc376d 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -1546,11 +1546,11 @@ class GeneralAI }); foreach($npcCivilGenerals as $idx=>$targetNPCGeneral){ - if($targetNPCGeneral->getVar($resName) <= $reqNPCMinDevelRes + 100){ + if($targetNPCGeneral->getVar($resName) <= $reqNPCMinDevelRes * 1.5){ break; } - $takeAmount = $targetNPCGeneral->getVar($resName) - $reqNPCMinDevelRes; + $takeAmount = $targetNPCGeneral->getVar($resName) - $reqNPCMinDevelRes * 1.2; $takeAmount = Util::valueFit($takeAmount, 100, $this->maxResourceActionAmount); if($takeAmount < $this->nationPolicy->minimumResourceActionAmount){ break;