From b6b53b028dfd73e3585a1c7952beb4a8faf1266b Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 19 Sep 2018 23:37:36 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=80=EB=8C=80=ED=83=84=20=EC=9C=A0?= =?UTF-8?q?=EC=A0=80=EC=9E=A5=EB=8F=84=20=EB=B0=9C=EB=A0=B9=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hwe/func_npc.php b/hwe/func_npc.php index 188254cb..1a3c43f2 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -1234,6 +1234,10 @@ function NPCStaffWork($general, $nation, $dipState){ if($nationGeneral['train'] * $nationGeneral['atmos'] < 75 * 75){ continue; } + + if($nationGeneral['troop'] != 0){ + continue; + } $score = 5; if($nationGeneral['npc']<2){ @@ -1284,7 +1288,7 @@ function NPCStaffWork($general, $nation, $dipState){ if($generalCity['pop'] - 33000 > $nationGeneral['leader']){ continue; } - if($nationGeneral['npc'] == 5){ + if($nationGeneral['troop'] != 0){ continue; }