From 4248e6ee89be285144c15b63ac9ef8fa24c41ff1 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 18 Sep 2018 01:51:28 +0900 Subject: [PATCH] =?UTF-8?q?NPC=20=EB=B6=80=EB=8C=80=EC=9E=A5=20=EB=B2=84?= =?UTF-8?q?=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_gamerule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/func_gamerule.php b/hwe/func_gamerule.php index b3e3923f..d60761c5 100644 --- a/hwe/func_gamerule.php +++ b/hwe/func_gamerule.php @@ -962,7 +962,7 @@ function updateNationState() { $history = array(); $admin = $gameStor->getValues(['year', 'month', 'fiction', 'startyear', 'show_img_level', 'turnterm']); - $query = "select nation,name,level from nation"; + $query = "select nation,name,level,capital from nation"; $nationresult = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); $nationcount = MYDB_num_rows($nationresult); @@ -1030,7 +1030,7 @@ function updateNationState() { $npcObj = new Scenario\NPC( 999, '부대장'.$lastAssemblerID, null, $nation['nation'], $nation['capital'], - 10, 10, 10, 1, $admin['year'] - 15, $admin['year'] + 15, 10, 75 + 10, 10, 10, 1, $admin['year'] - 15, $admin['year'] + 15, '은둔', '척사' ); $npcObj->npc = 5; $npcObj->build($admin);