Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -43,7 +43,6 @@ module.exports = (server, app) => { | ... | @@ -43,7 +43,6 @@ module.exports = (server, app) => { |
| 43 | } | 43 | } |
| 44 | }); | 44 | }); |
| 45 | }) | 45 | }) |
| 46 | - | ||
| 47 | } | 46 | } |
| 48 | const API_bundle = async () => { | 47 | const API_bundle = async () => { |
| 49 | 48 | ||
| ... | @@ -106,7 +105,7 @@ module.exports = (server, app) => { | ... | @@ -106,7 +105,7 @@ module.exports = (server, app) => { |
| 106 | 105 | ||
| 107 | 106 | ||
| 108 | //운명의 장난으로 죽을 확률이 증가하거나 감소함 | 107 | //운명의 장난으로 죽을 확률이 증가하거나 감소함 |
| 109 | - const rand = Math.floor(Math.random() * 6) //생년월일 중 한자리 뽑음 | 108 | + const rand = Math.floor(Math.random() * 6) * 10//생년월일 중 한자리 뽑음 |
| 110 | 109 | ||
| 111 | Destiny=client_birth.charAt(rand)/3; //명시적 형 변환 | 110 | Destiny=client_birth.charAt(rand)/3; //명시적 형 변환 |
| 112 | if(Destiny==0)Destiny=1; //사용자 잘못 입력했을때 예외처리 | 111 | if(Destiny==0)Destiny=1; //사용자 잘못 입력했을때 예외처리 | ... | ... |
-
Please register or login to post a comment