From 717c576cbaa044654cb2481a4ef786d817e49f09 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 24 Apr 2018 02:16:50 +0900 Subject: [PATCH] =?UTF-8?q?n=EC=9E=A5=20=EB=81=BC=EB=A6=AC=20=ED=8F=AC?= =?UTF-8?q?=EC=83=81=20=EC=A0=9C=EB=8C=80=EB=A1=9C=20=EC=95=88=ED=95=98?= =?UTF-8?q?=EB=8A=94=20=EB=B2=84=EA=B7=B8=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 63f16a0f..2793e17f 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -648,7 +648,7 @@ function processAI($no) { if($npcGenID === null && $userGenID === null){ $genID = 0; } - else if($npcGenID === null || $userGenValue < $npcGenValue * 3){ + else if($npcGenID === null || ($userGenValue !== null && $userGenValue < $npcGenValue * 3)){ $genID = $userGenID; } else{