일부 수정. 버그 수정.

This commit is contained in:
2019-04-28 00:18:36 +09:00
parent 820c72820d
commit b1c63d7f5e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -156,8 +156,8 @@ function CriticalRatioDomestic($general, $type) {
$fail = pow($ratio / 1.2, 1.4) - 0.3;
$success = pow($ratio / 1.2, 1.5) - 0.25;
$fail = min(max($fail, 0), 0.5);
$success = min(max($success, 0), 0.5);
$fail = Util::valueFit($fail, 0, 0.5);
$success = Util::valueFit($success, 0, 0.5);
return array(
+1 -1
View File
@@ -329,7 +329,7 @@ function fillLowGenAll() {
$gameStor->tournament = 2;
$gameStor->phase = 0;
$currentJoinerCnt = sum($grpCount);
$currentJoinerCnt = array_sum($grpCount);
if($currentJoinerCnt == 64){
return;
}