From 28a690cbba8070b58508fc0fe6ae22db49e5ba23 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 13 Jun 2018 03:27:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=94=EB=B0=A9=20=ED=9B=84=20=EC=9E=84?= =?UTF-8?q?=EA=B4=80=20=ED=99=95=EB=A5=A0=20=EC=9E=AC=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_npc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func_npc.php b/hwe/func_npc.php index 199f6128..5dd62986 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -334,7 +334,7 @@ function processAI($no) { if($nationCnt == 0 || $notFullNationCnt == 0){ $available = false; } - else if(Util::randBool(sqrt(1 / $nationCnt / $notFullNationCnt))){ + else if(Util::randBool(pow(1 / $nationCnt / pow($notFullNationCnt, 3), 1/4))){ //국가가 1개일 경우에는 '임관하지 않음' $available = false; }