From 217fd6f543fb37abbc98867e71f7a33396730fe3 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 9 Oct 2024 15:59:50 +0800 Subject: [PATCH] 1 --- webapp/services/BattleBoxService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/services/BattleBoxService.php b/webapp/services/BattleBoxService.php index e7f9dc40..eaf55b49 100644 --- a/webapp/services/BattleBoxService.php +++ b/webapp/services/BattleBoxService.php @@ -90,7 +90,7 @@ class BattleBoxService { //没掉完 $completionDegree = $yesterDayDropTotal / $yesterDayAllocNum; } - $allocableNum = min($maxNumLimit, $maxNum * $completionDegree); + $allocableNum = min($maxNumLimit, $yesterDayAllocNum * $completionDegree); } if ($allocableNum > 0) { self::setDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds(), $allocableNum);