This commit is contained in:
aozhiwei 2024-10-24 16:04:15 +08:00
parent 6681aee2e6
commit 5d24365274

View File

@ -49,8 +49,8 @@ class BattleBoxService {
if ($currPhase < 1 || $currPhase > 2) {
return 0;
}
$minNum = $maxLst0[$currPhase];
$maxNum = $maxLst1[$currPhase];
$minNum = $maxLst0[$currPhase - 1];
$maxNum = $maxLst1[$currPhase - 1];
error_log(json_encode(array(
'mapNodeMeta' => $mapModeMeta,
@ -72,6 +72,7 @@ class BattleBoxService {
'yesterDayDropLastTime' => $yesterDayDropLastTime,
'yesterDayDropTotal' => $yesterDayDropTotal,
'yesterDayAllocNum' => $yesterDayAllocNum,
'maxNum' => $maxNum,
)));
if ($yesterDayAllocNum <= 0) {
$allocableNum = $maxNum;