쌀 검사 코드

This commit is contained in:
2018-07-18 04:47:28 +09:00
parent 5789af801a
commit 69ec2469b4
+3 -1
View File
@@ -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 = [];