From 131dd46a3882d9c29366df4c982ea92e3e5053d5 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 23 Jun 2018 22:58:11 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=B4=EC=A7=80=EC=9E=A5=EC=9D=98=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=EC=97=90=EB=8A=94=20=EC=8C=80=20=EC=A0=81?= =?UTF-8?q?=EA=B2=8C=20=EC=A3=BC=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func_npc.php b/hwe/func_npc.php index 512622b0..f58ad664 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -1029,7 +1029,7 @@ function NPCStaffWork($general, $nation, $dipState){ $work = true; } - if($compUser[$resName] < 21000){ + if((($isWarUser || $resName == 'gold') && $compUser[$resName] < 21000) || ($compUser[$resName] < 5000)){ if($work){ $amount = min(100, intdiv(($nation[$resName]-($resName=='rice'?(GameConst::$baserice):(GameConst::$basegold))), 2000)*10 + 10); $commandList[EncodeCommand($resType, $userGeneralsID[0], $amount, 23)] = 40; // 금,쌀 1000단위 포상