json_valid 설정. officer 설정 방식 변경

This commit is contained in:
2020-05-05 19:17:27 +09:00
parent a378ac8738
commit 6ac12d42fe
8 changed files with 81 additions and 89 deletions
+1 -3
View File
@@ -699,9 +699,7 @@ function ConquerCity($admin, $general, $city, $nation, $destnation) {
'comm'=>$db->sqleval('comm*0.7'),
'secu'=>$db->sqleval('secu*0.7'),
'nation'=>$conquerNation,
'officer4set'=>0,
'officer3set'=>0,
'officer2set'=>0
'officer_set'=>0,
];
if($city['level'] > 3) {
$query['def'] = 1000;