From 4a7b2d04c24bb997d06af6d507c1593171b338c2 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 13 Jun 2018 02:29:37 +0900 Subject: [PATCH] =?UTF-8?q?npc=20=EA=B1=B0=EB=B3=91=20=ED=99=95=EB=A5=A0?= =?UTF-8?q?=20=EC=88=98=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 3724f0bb..c8f42a2e 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -347,7 +347,7 @@ function processAI($no) { case 2: case 3: //거병이나 견문 40% // 초반이면서 능력이 좋은놈 위주로 1%확률로 거병 $prop = Util::randF() * (GameConst::$defaultStatNPCMax + GameConst::$chiefStatMin) / 2; - $ratio = Util::round(($general['leader'] + $general['power'] + $general['intel']) / 3); + $ratio = ($general['leader'] + $general['power'] + $general['intel']) / 3; if($admin['startyear']+2 > $admin['year'] && $prop < $ratio && Util::randBool(0.01) && $general['makelimit'] == 0) { //거병 $command = EncodeCommand(0, 0, 0, 55);