feat: 장수명 무작위 생성 모드 가능

This commit is contained in:
2022-10-30 15:16:40 +09:00
parent 35a017c1dc
commit 48c77bd6a2
8 changed files with 39 additions and 11 deletions
+3 -2
View File
@@ -24,7 +24,7 @@ $db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game_env');
$admin = $gameStor->getValues(['block_general_create', 'show_img_level', 'maxgeneral', 'turnterm']);
if ($admin['block_general_create']) {
if ($admin['block_general_create'] & 1) {
die(WebUtil::errorBackMsg("잘못된 접근입니다!!!"));
}
@@ -65,7 +65,8 @@ foreach ($scoutMsgs as $destNationID => $scoutMsg) {
'serverID' => UniqueConst::$serverID,
'nationList' => array_values($nationList),
'config' => [
'show_img_level' => $admin['show_img_level']
'show_img_level' => $admin['show_img_level'],
'blockCustomGeneralName' => ($admin['block_general_create'] & 2),
],
'member' => [
'name' => $member['name'],