feat: 장수명 무작위 생성 모드 가능
This commit is contained in:
+9
-1
@@ -62,7 +62,8 @@
|
||||
<div class="row">
|
||||
<div class="col col-md-4 col-3 a-right align-self-center">장수명</div>
|
||||
<div class="col col-md-3 col-9 align-self-center">
|
||||
<input v-model="args.name" class="form-control" />
|
||||
<input v-if="!blockCustomGeneralName" v-model="args.name" class="form-control" />
|
||||
<span v-else>무작위</span>
|
||||
</div>
|
||||
<div class="col col-md-1 col-3 a-right align-self-center">전콘 사용</div>
|
||||
<div class="col col-md-4 col-9 align-self-center">
|
||||
@@ -267,6 +268,11 @@ declare const staticValues: {
|
||||
imgsvr: 0 | 1;
|
||||
};
|
||||
|
||||
config: {
|
||||
show_img_level: number;
|
||||
blockCustomGeneralName: boolean;
|
||||
}
|
||||
|
||||
serverID: string;
|
||||
inheritTotalPoint: number;
|
||||
};
|
||||
@@ -294,6 +300,8 @@ const { serverID, member, turnterm } = staticValues;
|
||||
const nationList = ref(shuffle(staticValues.nationList));
|
||||
const args = ref<JoinArgs>();
|
||||
|
||||
const blockCustomGeneralName = staticValues.config.blockCustomGeneralName;
|
||||
|
||||
const stats = ref({
|
||||
min: 50,
|
||||
max: 50,
|
||||
|
||||
@@ -98,7 +98,7 @@ type ReservedGameInfo = {
|
||||
scenarioName: string,
|
||||
turnterm: number,
|
||||
fictionMode: '가상' | '사실',
|
||||
block_general_create: boolean,
|
||||
block_general_create: number,
|
||||
npcMode: '불가' | '가능' | '선택 생성',
|
||||
openDatetime: string,
|
||||
starttime: string,
|
||||
@@ -119,7 +119,7 @@ type GameInfo = {
|
||||
turntime: string,
|
||||
join_mode: string,
|
||||
fictionMode: '가상' | '사실',
|
||||
block_general_create: boolean,
|
||||
block_general_create: number,
|
||||
autorun_user: string,
|
||||
userCnt: number,
|
||||
npcCnt: number,
|
||||
@@ -271,7 +271,7 @@ async function Entrance_drawServerList(serverInfos: ServerResponseItem[]) {
|
||||
$serverHtml.append(
|
||||
TemplateEngine(serverCreateTemplate, {
|
||||
serverPath: serverPath,
|
||||
canCreate: !game.block_general_create,
|
||||
canCreate: !(game.block_general_create & 1),
|
||||
canSelectNPC: game.npcMode == '가능',
|
||||
canSelectPool: game.npcMode == '선택 생성'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user