From 915c5fcd8ed9adc09c4c87997f6c63c1428dab68 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 18 Apr 2018 21:51:44 +0900 Subject: [PATCH] =?UTF-8?q?npc=20=EB=AA=B0=ED=8F=AC=20=EB=B2=84=EA=B7=B8?= =?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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwe/func_npc.php b/hwe/func_npc.php index f6c3a445..095b118d 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -577,6 +577,7 @@ function processAI($no) { 'SELECT `no`, %b FROM general WHERE nation=%i AND `no`!=%i AND %b>3000 AND npc >= 2 ORDER BY %b DESC LIMIT 1', $type, $general['nation'], + $general['no'], $type, $type ); @@ -585,6 +586,7 @@ function processAI($no) { 'SELECT `no`, %b FROM general WHERE nation=%i AND `no`!=%i AND %b>3000 AND npc < 2 ORDER BY %b DESC LIMIT 1', $type, $general['nation'], + $general['no'], $type, $type ); @@ -613,6 +615,7 @@ function processAI($no) { 'SELECT `no`, %b FROM general WHERE nation=%i AND `no`!=%i AND npc >= 2 ORDER BY %b ASC LIMIT 1', $type, $general['nation'], + $general['no'], $type, $type ); @@ -621,6 +624,7 @@ function processAI($no) { 'SELECT `no`, %b FROM general WHERE nation=%i AND `no`!=%i AND npc < 2 ORDER BY %b ASC LIMIT 1', $type, $general['nation'], + $general['no'], $type, $type );