From 764a82df0066e4df2e2424b57bded397852c6e7a Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 20 Sep 2018 00:43:36 +0900 Subject: [PATCH] =?UTF-8?q?=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/join_post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/join_post.php b/hwe/join_post.php index 2748ab3a..2fb62014 100644 --- a/hwe/join_post.php +++ b/hwe/join_post.php @@ -183,8 +183,8 @@ else{ $expGenCount = $db->queryFirstField('SELECT count(*) FROM general WHERE nation != 0 AND npc < 5'); $targetGenOrder = Util::round($expGenCount * 0.2); $experience = $db->queryFirstField( - 'SELECT experience FROM general WHERE nation != 0 AND npc < 5 ORDER BY experience ASC LIMIT %i - 1, 1', - $targetGenOrder + 'SELECT experience FROM general WHERE nation != 0 AND npc < 5 ORDER BY experience ASC LIMIT %i, 1', + $targetGenOrder - 1 ); $experience *= 0.8; }