From 4dd69db652c90d53f5de6917ed5c028e67a3b213 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 15 May 2018 22:42:14 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EC=88=98=20=EB=8F=84=EC=8B=9C?= =?UTF-8?q?=EB=A5=BC=20=EC=A0=9C=EB=8C=80=EB=A1=9C=20=EB=AA=BB=20=EB=B0=9B?= =?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/sammo/Scenario/NPC.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/sammo/Scenario/NPC.php b/hwe/sammo/Scenario/NPC.php index 7ec7c807..32965c4a 100644 --- a/hwe/sammo/Scenario/NPC.php +++ b/hwe/sammo/Scenario/NPC.php @@ -161,6 +161,9 @@ class NPC{ '@phan-var array $cityObj'; $city = $cityObj['id']; } + else{ + $city = CityHelper::getCityByName($city)['id']; + } $experience = $age * 100; $dedication = $age * 100;