From 69ec2469b407ba4f931bdfff54980566a7f8d3ff Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 18 Jul 2018 04:47:28 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8C=80=20=EA=B2=80=EC=82=AC=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hwe/func_process.php b/hwe/func_process.php index 27df73b8..c88257e8 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -942,10 +942,12 @@ function process_11(&$general, $type) { if($general['gold'] < $cost){ $actLog->pushGeneralActionLog("자금이 모자랍니다. $dtype 실패. <1>$date"); + return; } - if($general['rice'] < $crew) { + if($general['rice'] < $crew / 100) { $actLog->pushGeneralActionLog("군량이 모자랍니다. $dtype 실패. <1>$date"); + return; } $ownCities = [];