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:43:34 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a3120bd51ff4593a4b1c1225a3e9a6dc77be7073
a3120bd5
1 parent
dd9d6d7f
기능: 최근 LCK KDA 비교 퀴즈 생성
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
app.js
app.js
View file @
a3120bd
...
...
@@ -244,6 +244,20 @@ function generateQuiz() {
info
=
`
${
fakerData
.
recentLCK
.
name
}
' 승률 :
${
recentWinRate
}
\nLCK 통산 승률 :
${
lckWinRate
}
`
;
generateOX
(
quizO
,
quizX
,
info
);
//#endregion
//#region 최근 LCK KDA 비교 ox
var
lckKDA
=
fakerData
.
recentLCK
.
comparison_KDA
.
split
(
' '
)[
0
];
var
recentKDA
=
fakerData
.
recentLCK
.
comparison_KDA
.
split
(
' '
)[
1
];
if
(
lckKDA
<
recentKDA
)
{
quizO
=
`
${
fakerData
.
name
}
의 '
${
fakerData
.
recentLCK
.
name
}
' KDA는 LCK 통산 KDA보다 높다.`
;
quizX
=
`
${
fakerData
.
name
}
의 '
${
fakerData
.
recentLCK
.
name
}
' KDA는 LCK 통산 KDA보다 낮다.`
;
}
else
{
quizO
=
`
${
fakerData
.
name
}
의 '
${
fakerData
.
recentLCK
.
name
}
' KDA는 LCK 통산 KDA보다 낮다.`
;
quizX
=
`
${
fakerData
.
name
}
의 '
${
fakerData
.
recentLCK
.
name
}
' KDA는 LCK 통산 KDA보다 높다.`
;
}
info
=
`
${
fakerData
.
recentLCK
.
name
}
' KDA :
${
recentKDA
}
\nLCK 통산 KDA :
${
lckKDA
}
`
;
generateOX
(
quizO
,
quizX
,
info
);
//#endregion
}
function
generateOX
(
quizO
,
quizX
,
moreInfo
)
{
...
...
Please
register
or
login
to post a comment