From 093c04bc24afd5bd096f7909f6387e1f07c96a51 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 23 Jun 2018 23:49:22 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8F=AC=EC=83=81=20=EA=B3=84=EC=88=98=20?= =?UTF-8?q?=EC=A1=B0=EC=A0=88?= 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 f58ad664..2e6c169d 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -1031,8 +1031,8 @@ function NPCStaffWork($general, $nation, $dipState){ 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단위 포상 + $amount = min(100, intdiv(($nation[$resName]-($resName=='rice'?(GameConst::$baserice):(GameConst::$basegold))), 3000)*10 + 10); + $commandList[EncodeCommand($resType, $userGeneralsID[0], $amount, 23)] = 10; // 금,쌀 1000단위 포상 } else{ $amount = min(100, intdiv(($nation[$resName]-($resName=='rice'?(GameConst::$baserice):(GameConst::$basegold))), 5000)*10 + 10);