From 456246362fda34ab2fad94f06919e9126048165c Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 21 Dec 2024 03:59:21 +0000 Subject: [PATCH] =?UTF-8?q?game:=20NPC=EC=9D=98=20=EC=9C=A0=EC=A0=80=20?= =?UTF-8?q?=EA=B4=80=EC=A7=81=20=EB=B6=80=EC=97=AC=20=EB=A1=9C=EC=A7=81=20?= =?UTF-8?q?=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index 08e5e717..f9848df9 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -4036,7 +4036,7 @@ class GeneralAI if ($general->getVar('belong') < $minBelong) { continue; } - if ($general->getVar('officer_level') !== 1) { + if ($general->getVar('officer_level') > 4) { continue; } $nextChiefs[11] = $general; @@ -4093,7 +4093,7 @@ class GeneralAI $newChief = null; foreach ($generals as $general) { - if ($general->getVar('officer_level') !== 1) { + if ($general->getVar('officer_level') > 4) { continue; } if ($general->getNPCType() < 2 && $general->getVar('killturn') < $minUserKillturn) {