Toggle navigation
Toggle navigation
This project
Loading...
Sign in
kkl
/
Probability Death
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
곽태식
2019-05-31 14:31:17 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
34d1e3a0982760ef0fba24a8bd8b7461d4b59d94
34d1e3a0
2 parents
d8ebfc80
c7416d07
Merge branch 'joke' of
ssh://khuhub.khu.ac.kr:12959/kkl/ProbabilityDeath
into wallpaper
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
lib/socketio.js
lib/socketio.js
View file @
34d1e3a
...
...
@@ -43,7 +43,6 @@ module.exports = (server, app) => {
}
});
})
}
const
API_bundle
=
async
()
=>
{
...
...
@@ -106,7 +105,7 @@ module.exports = (server, app) => {
//운명의 장난으로 죽을 확률이 증가하거나 감소함
const
rand
=
Math
.
floor
(
Math
.
random
()
*
6
)
//생년월일 중 한자리 뽑음
const
rand
=
Math
.
floor
(
Math
.
random
()
*
6
)
*
10
//생년월일 중 한자리 뽑음
Destiny
=
client_birth
.
charAt
(
rand
)
/
3
;
//명시적 형 변환
if
(
Destiny
==
0
)
Destiny
=
1
;
//사용자 잘못 입력했을때 예외처리
...
...
Please
register
or
login
to post a comment