feat,refac: 남은 난수 생성값 추가 수정

- rand, mt_rand, Query rand() 쓰는 영역
- 거래장, 토너먼트는 남김
This commit is contained in:
Hide_D committed 2022-05-17 23:01:00 +09:00
1 parent c5ceff6fb5
commit 296a27a409
9 files changed
+63 -36

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ while(count($pickResult) < $pickLimit){
}
}
$newNonce = mt_rand(0, 0xfffffff);
$newNonce = random_int(0, 0xfffffff);
$validSecond = max(VALID_SECOND, $turnterm*40);
$pickMoreSecond = max(PICK_MORE_SECOND, Util::round(pow($turnterm, 0.672)*8));