From 546631c6644717d3b91fe46e719c6c8736cf99c2 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 11 Aug 2021 15:01:21 +0900 Subject: [PATCH] =?UTF-8?q?NPC=EA=B0=80=20=EA=B5=AD=EA=B0=80=EA=B0=80=201?= =?UTF-8?q?=EA=B0=9C=EC=9D=B8=20=EA=B2=BD=EC=9A=B0=EC=97=90=EB=8F=84=20?= =?UTF-8?q?=EC=9E=84=EA=B4=80=EC=9D=80=20=EB=82=AE=EC=A7=80=EB=A7=8C=20?= =?UTF-8?q?=EC=8B=9C=EB=8F=84=ED=95=98=EB=8F=84=EB=A1=9D=20=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GeneralAI.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index 8b323f48..4168e237 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -3170,8 +3170,7 @@ class GeneralAI return null; } - if (Util::randBool(pow(1 / $nationCnt / pow($notFullNationCnt, 3), 1 / 4))) { - //국가가 1개일 경우에는 '임관하지 않음' + if (Util::randBool(pow(1 / ($nationCnt + 0.1) / pow($notFullNationCnt, 3), 1 / 4))) { return null; } }