From 894b0f54ac1ff6f2f27da6bcb73ac8e4f12b7b98 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 28 Oct 2024 15:16:27 +0800 Subject: [PATCH] 1 --- webapp/services/BattleBoxService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/services/BattleBoxService.php b/webapp/services/BattleBoxService.php index 0803d769..1608ee0f 100644 --- a/webapp/services/BattleBoxService.php +++ b/webapp/services/BattleBoxService.php @@ -97,6 +97,7 @@ class BattleBoxService { $completionDegree = $yesterDayDropTotal / $yesterDayAllocNum; } $allocableNum = min($maxNumLimit, $yesterDayAllocNum * $completionDegree); + $allocableNum = max(300, $allocableNum); if ($allocableNum <= 0) { $allocableNum = $yesterDayAllocNum; }