feat,refac: 남은 난수 생성값 추가 수정
- rand, mt_rand, Query rand() 쓰는 영역 - 거래장, 토너먼트는 남김
This commit is contained in:
1 parent
c5ceff6fb5
commit
296a27a409
9 files changed
+63
-36
No files matched your search
@@ -652,7 +652,7 @@ class GeneralBuilder{
|
||||
$killturn = $this->killturn;
|
||||
}
|
||||
else if($this->birth !== null){
|
||||
$killturn = ($this->death - $year) * 12 + mt_rand(0, 11) + $month - 1;
|
||||
$killturn = ($this->death - $year) * 12 + $this->rng->nextRangeInt(0, 11) + $month - 1;
|
||||
}
|
||||
else{
|
||||
throw new \InvalidArgumentException();
|
||||
|
||||
Reference in new issue
Block a user