From 2cc2f7eb2312b10750540c877fb4f33754dd475b Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 19 Apr 2018 01:30:31 +0900 Subject: [PATCH] =?UTF-8?q?NPC=20=EB=AA=B0=EC=88=98=EB=A5=BC=20=EB=8D=94?= =?UTF-8?q?=20=EC=9E=98=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=84=A4=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 5e741a2f..c0479d1b 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -585,7 +585,7 @@ function processAI($no) { if(rand() % 2 == 0) { $type = "gold"; $type2 = 1; } else { $type = "rice"; $type2 = 2; } - if($nation[$type] < 1000) { // 몰수 + if($nation[$type] < $type2*2000) { // 몰수 // 몰수 대상 list($npcGenID, $npcGenValue) = $db->queryFirstList( 'SELECT `no`, %b FROM general WHERE nation=%i AND `no`!=%i AND %b>3000 AND npc >= 2 ORDER BY %b DESC LIMIT 1',