game,refac: 토너먼트 진행 시간을 턴 시간에 맞춤(최소 5초)

This commit is contained in:
2022-07-04 23:59:04 +09:00
parent e7918469e5
commit f9a73be82b
10 changed files with 105 additions and 220 deletions
+2 -2
View File
@@ -1358,7 +1358,7 @@ function triggerTournament(RandUtil $rng)
if ($tournament != 0) {
return;
}
if ($tnmt_trig == 0) {
if (!$tnmt_trig) {
return;
}
if (!$rng->nextBool(0.4)) {
@@ -1374,7 +1374,7 @@ function triggerTournament(RandUtil $rng)
$tnmt_type = array_pop($tnmt_pattern);
$gameStor->setValue('tnmt_pattern', $tnmt_pattern);
startTournament($tnmt_trig, $tnmt_type);
startTournament($tnmt_type);
}
function CheckHall($no)