From f8c72a6a0adf95941dfe973f67d4877adf7ea38e Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 15 Aug 2019 16:10:39 +0900 Subject: [PATCH] =?UTF-8?q?NPC=EA=B8=B0=EC=88=A0=EC=97=B0=EA=B5=AC=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EB=A7=88=EC=A0=80=20=EA=B3=A0=EC=B9=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_npc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/func_npc.php b/hwe/func_npc.php index 80be3c09..cf2d7bae 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -46,12 +46,12 @@ function SetDevelop($genType, $no, $city, $tech) { case 3: //지내정장 if($prob < 40) { if($city['ag'] < 99) { $command = EncodeCommand(0, 0, 0, 1); } //농업 - elseif($tech < 10000) { $command = EncodeCommand(0, 0, 0, 3); } //기술 + elseif(!TechLimit($startyear, $year, $tech)) { $command = EncodeCommand(0, 0, 0, 3); } //기술 elseif($city['po'] < 99) { $command = EncodeCommand(0, 0, 0, 7); } //정장 else { $command = EncodeCommand(0, 0, 0, 9); } //조달 } elseif($prob < 80) { if($city['co'] < 99) { $command = EncodeCommand(0, 0, 0, 2); } //상업 - elseif($tech < 10000) { $command = EncodeCommand(0, 0, 0, 3); } //기술 + elseif(!TechLimit($startyear, $year, $tech)) { $command = EncodeCommand(0, 0, 0, 3); } //기술 elseif($city['po'] < 99) { $command = EncodeCommand(0, 0, 0, 7); } //정장 else { $command = EncodeCommand(0, 0, 0, 9); } //조달 } elseif($prob < 90) {