Toggle navigation
Toggle navigation
This project
Loading...
Sign in
전세계
/
FakerQuiz
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Ubuntu
2020-06-21 11:45:58 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3734f3c639c0624ca892983fcf14b8135fbeb302
3734f3c6
1 parent
a3120bd5
기능: 최근 LCK 킬관여율 퀴즈 생성
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
app.js
app.js
View file @
3734f3c
...
...
@@ -258,6 +258,20 @@ function generateQuiz() {
info
=
`
${
fakerData
.
recentLCK
.
name
}
' KDA :
${
recentKDA
}
\nLCK 통산 KDA :
${
lckKDA
}
`
;
generateOX
(
quizO
,
quizX
,
info
);
//#endregion
//#region 최근 LCK 킬관여율 비교 ox
var
lckKP
=
fakerData
.
recentLCK
.
comparison_KP
.
split
(
' '
)[
0
];
var
recentKP
=
fakerData
.
recentLCK
.
comparison_KP
.
split
(
' '
)[
1
];
if
(
lckKP
<
recentKP
)
{
quizO
=
`
${
fakerData
.
name
}
의 '
${
fakerData
.
recentLCK
.
name
}
' 킬관여율은 LCK 통산 킬관여율보다 높다.`
;
quizX
=
`
${
fakerData
.
name
}
의 '
${
fakerData
.
recentLCK
.
name
}
' 킬관여율은 LCK 통산 킬관여율보다 낮다.`
;
}
else
{
quizO
=
`
${
fakerData
.
name
}
의 '
${
fakerData
.
recentLCK
.
name
}
' 킬관여율은 LCK 통산 킬관여율보다 낮다.`
;
quizX
=
`
${
fakerData
.
name
}
의 '
${
fakerData
.
recentLCK
.
name
}
' 킬관여율은 LCK 통산 킬관여율보다 높다.`
;
}
info
=
`
${
fakerData
.
recentLCK
.
name
}
' KDA :
${
recentKP
}
\nLCK 통산 KDA :
${
lckKP
}
`
;
generateOX
(
quizO
,
quizX
,
info
);
//#endregion
}
function
generateOX
(
quizO
,
quizX
,
moreInfo
)
{
...
...
Please
register
or
login
to post a comment